1. 01 Aug, 2016 1 commit
  2. 25 Jul, 2016 1 commit
    • Sebastian Ebertshäuser's avatar
      EnEff-BIM converter release 0.5 · ecc281b3
      Sebastian Ebertshäuser authored
      now supports nested time series in IfcPropertyReference.
      Note: only implementation ready, the mapping entries need to be specified:
      
      INLINE COMMENTS ON NEEDED ENTRIES (AND IMPLEMENTED „CODE BEHIND“ – CB) – EACH INLINE ADDED HYPHEN CORRESPONDS TO ONE NEEDED ENTRY
      WITH THESE TO BE ADDED TO REQCAP SPECIFICATIONS (FOR ONE OF TWO POSSIBLE CASES - YEAR or DAY) THREE SIMMODEL ELEMENTS ARE GENERATED.
      
      NOTE: in order to distinguish the two following generally supported time series mapping cases we evaluate the „TimeStep“ field value of the IFC object.
      need to this for all following mapping table entries by adding one of the two possible terms in the „MappingType“ CSV column:
      - case of year (code behind: value >= 31536000): IfcRegularTimeSeries.###.###.TimeStep.31536000
      - case of day (code behind: value <= 3600): IfcRegularTimeSeries.###.###.TimeStep. 3600
      
      1 - SimXML)
      
      <SimTimeSeriesSchedule_Year_Default RefId="ID26351“>
      
      -
      RegularTimeSeries_1;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries";"SimTimeSeriesSchedule_Year_Default";
      
            <simcore:SimUniqueID>4c2ca483-7fd1-4a09-be78-025ebe317d4e</simcore:SimUniqueID>
      
      - CB_1 (due to missing GlobalId on IFC time series object): use "IfcRegularTimeSeries.###.###.CB“ in the IFC column, it returns the unique id of the current element. then in order to add further specification, e.g. the reference id of the week element add the targets specific prefix („_prv02_“) separated by a dot at the end of the term: "IfcRegularTimeSeries.###.###.CB_1.ID_prv02_“. NOTE: returns static prefixed GlobalId value from the IFC component that is connected to the time series object, in order to distinguish multiple occurrences.
      <simcore:SimModelType>Year</simcore:SimModelType>
      
      - CB2: for all the static values you can add the exact value behind the last item in the IFC column, e.g. (…);"IfcRegularTimeSeries.###.###.Year“; "SimTimeSeriesSchedule_Year_Default .simcore:SimModelSubtype“
              Type;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries.###.###.Year";"SimTimeSeriesSchedule_Year_Default.simcore:SimModelType";
                    <simcore:SimModelSubtype>Default</simcore:SimModelSubtype>
      
      - same as CB2
              <simcore:SimModelName>RotationSpeed</simcore:SimModelName>
      
      -
       Name;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries.###.###.Name";"SimTimeSeriesSchedule_Year_Default.simres:SimTimeSeriesSched_Name";
      
              <simres:SimTimeSeriesSched_Sched_WeekName_1_53>ID26353</simres:SimTimeSeriesSched_Sched_WeekName_1_53>
      
      - NEW: ADD static value (prefix to common id see CB1):
       LinkToWeek;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries.###.###.CB_1.ID_prv02_";"SimTimeSeriesSchedule_Year_Default.simres:SimTimeSeriesSched_Sched_WeekName_1_53";
      
              <simres:SimTimeSeriesSched_StartMonth_1_53>1</simres:SimTimeSeriesSched_StartMonth_1_53>
      
      CB_3: (provide xslt function for string operation; substring(<nameOfField>,<startIndex>,<howmanyCharacters>), sample entry:  StartMonth;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries.###.###.substring(StartTime,6,2)";"SimTimeSeriesSchedule_Year_Default.simres:SimTimeSeriesSched_StartMonth_1_53";
      
              <simres:SimTimeSeriesSched_StartDay_1_53>1</simres:SimTimeSeriesSched_StartDay_1_53>
      
      	- CB_3: StartDay;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries.###.###.substring(StartTime,9,2)";"SimTimeSeriesSchedule_Year_Default.simres:SimTimeSeriesSched_StartDay_1_53";
      
              <simres:SimTimeSeriesSched_EndMonth_1_53>12</simres:SimTimeSeriesSched_EndMonth_1_53>
      
      	- CB_3: EndMonth;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries.###.###.substring(EndTime,6,2)";"SimTimeSeriesSchedule_Year_Default.simres:SimTimeSeriesSched_EndMonth_1_53"
      
                      <simres:SimTimeSeriesSched_EndDay_1_53>31</simres:SimTimeSeriesSched_EndDay_1_53>
      
      	- CB_3: EndDay;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries.###.###.substring(EndTime,9,2)";"SimTimeSeriesSchedule_Year_Default.simres:SimTimeSeriesSched_EndDay_1_53";
      
          </SimTimeSeriesSchedule_Year_Default>
      <SimTimeSeriesSchedule_Week_Daily RefId="ID26353“>
      
      - RegularTimeSeries_2;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries";"SimTimeSeriesSchedule_Week_Daily";
      
              <simcore:SimUniqueID>a4794b2b-c660-4e8d-9ff6-bb9b18500366</simcore:SimUniqueID>
      
      	- same as CB1
              <simcore:SimModelType>Week</simcore:SimModelType>
      
      - same as CB2
              <simcore:SimModelSubtype>Daily</simcore:SimModelSubtype>
      
      - same as CB2
              <simcore:SimModelName>RotationSpeed</simcore:SimModelName>
      
      - copy the equivalent SimTimeSeriesSchedule_Year_Default entry and adjust it to SimTimeSeriesSchedule_Week_Daily
              <simres:SimTimeSeriesSched_SundaySched_DayName>ID26357</simres:SimTimeSeriesSched_SundaySched_DayName>
      
      - do we need ALL these fields pointing to the same „generic“ day instance? needs specification.
              <simres:SimTimeSeriesSched_MondaySched_DayName>ID26357</simres:SimTimeSeriesSched_MondaySched_DayName>
      
      - as previous
                     <simres:SimTimeSeriesSched_TuesdaySched_DayName>ID26357</simres:SimTimeSeriesSched_TuesdaySched_DayName>
      
      - as previous
              <simres:SimTimeSeriesSched_WedSched_DayName>ID26357</simres:SimTimeSeriesSched_WedSched_DayName>
      
      - as previous
              <simres:SimTimeSeriesSched_ThursdaySched_DayName>ID26357</simres:SimTimeSeriesSched_ThursdaySched_DayName>
      
      - as previous
              <simres:SimTimeSeriesSched_FridaySched_DayName>ID26357</simres:SimTimeSeriesSched_FridaySched_DayName>
      
      - as previous
              <simres:SimTimeSeriesSched_SaturdaySched_DayName>ID26357</simres:SimTimeSeriesSched_SaturdaySched_DayName>
      
      - as previous
              <simres:SimTimeSeriesSched_HolidaySched_DayName>ID26357</simres:SimTimeSeriesSched_HolidaySched_DayName>
      
      - as previous
              <simres:SimTimeSeriesSched_SummerDesignDaySched_DayName>ID26357</simres:SimTimeSeriesSched_SummerDesignDaySched_DayName>
      
      - as previous
              <simres:SimTimeSeriesSched_WinterDesignDaySched_DayName>ID26357</simres:SimTimeSeriesSched_WinterDesignDaySched_DayName>
      
      - as previous
              <simres:SimTimeSeriesSched_CustomDay_1_2_SchedDayName>ID26357 ID26357</simres:SimTimeSeriesSched_CustomDay_1_2_SchedDayName>
      
      - CB_1: LinkToDay"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries.###.###.CB_1.ID_prv03_";"SimTimeSeriesSchedule_Week_Daily.simres:SimTimeSeriesSched_CustomDay_1_2_SchedDayName";
      
                 </SimTimeSeriesSchedule_Week_Daily>
      
      <SimTimeSeriesSchedule_Day_Interval RefId="ID26357“>
      
      -  RegularTimeSeries_3;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries";"SimTimeSeriesSchedule_Day_Interval";
      
                     <simcore:SimUniqueID>3be5c98c-2f4f-4b4a-a6cc-171a582ffd90</simcore:SimUniqueID>
      
      - same as above
              <simcore:SimModelType>Day</simcore:SimModelType>
      
      - same as above
              <simcore:SimModelSubtype>Interval</simcore:SimModelSubtype>
      
      - same as above
              <simcore:SimModelName>v</simcore:SimModelName>
      
      - same as above
              <simres:SimTimeSeriesSched_Time_1_144>
      
      - same as above
                  <simcore:stringItem>Until: 24:00</simcore:stringItem>
      
      - same as above
              </simres:SimTimeSeriesSched_Time_1_144>
      
              <simres:SimTimeSeriesSched_ValUntilTime_1_144>1</simres:SimTimeSeriesSched_ValUntilTime_1_144>
      
      - Values;"";"IfcRegularTimeSeries.###.###.TimeStep.31536000";"IfcRegularTimeSeries.###.###.Values";"SimTimeSeriesSchedule_Day_Interval.simres:SimTimeSeriesSched_ValUntilTime_1_144";
          </SimTimeSeriesSchedule_Day_Interval>
      
      2 - SimXML)
      
      <SimTimeSeriesSchedule_Year_Default> same as above
      
      >> same as above with ModelType column: IfcRegularTimeSeries.###.###.Interval.3600
      <SimTimeSeriesSchedule_Week_Daily> same as above
      
      >> same as above with ModelType column: IfcRegularTimeSeries.###.###.Interval.3600
      <SimTimeSeriesSchedule_Day_Interval RefId="ID26357“>
      - RegularTimeSeries_3;"";"IfcRegularTimeSeries.###.###.TimeStep.3600";"IfcRegularTimeSeries";"SimTimeSeriesSchedule_Day_Interval";
      
                   <simcore:SimUniqueID>3be5c98c-2f4f-4b4a-a6cc-171a582ffd90</simcore:SimUniqueID>
      - same as above
              <simcore:SimModelType>Day</simcore:SimModelType>
      - same as above
              <simcore:SimModelSubtype>Interval</simcore:SimModelSubtype>
      - same as above
              <simcore:SimModelName>RotationSpeed</simcore:SimModelName>
      - same as above
              <simres:SimTimeSeriesSched_Time_1_144>
      
      - CB_1 (the only „BLACKBOX“ string operation hard code, due to count integrer derived from position function of xslt1.0):
      Values;"";"IfcRegularTimeSeries.###.###.TimeStep.3600";"IfcRegularTimeSeries.###.###.Values__Until_24_00";"SimTimeSeriesSchedule_Day_Interval.simres:SimTimeSeriesSched_Time_1_144";
      
                  <simcore:stringItem>Until: 1:00</simcore:stringItem>
      - DONE GENERICALLY
                  <simcore:stringItem>Until: 2:00</simcore:stringItem>
      - ...
                  <simcore:stringItem>Until: 3:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 4:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 5:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 6:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 7:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 8:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 9:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 10:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 11:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 12:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 13:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 14:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 15:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 16:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 17:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 18:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 19:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 20:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 21:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 22:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 23:00</simcore:stringItem>
      -
                  <simcore:stringItem>Until: 24:00</simcore:stringItem>
             </simres:SimTimeSeriesSched_Time_1_144>
              <simres:SimTimeSeriesSched_ValUntilTime_1_144>0.1 0.1 0.1 0.1 0.1 0.1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.1 0.1 0.1 0.1</simres:SimTimeSeriesSched_ValUntilTime_1_144>
      - Values;"";"IfcRegularTimeSeries.###.###.TimeStep.3600";"IfcRegularTimeSeries.###.###.Values";"SimTimeSeriesSchedule_Day_Interval.simres:SimTimeSeriesSched_ValUntilTime_1_144";
      
               </SimTimeSeriesSchedule_Day_Interval>
      ecc281b3
  3. 12 Jul, 2016 1 commit
    • Sebastian Ebertshäuser's avatar
      intermediate release: now supporting the latest specification of mapping... · 40907822
      Sebastian Ebertshäuser authored
      intermediate release: now supporting the latest specification of mapping facilities for IfcSystem and ReferenceProperty (with nested time series instance) and further code optimizations. NOTE: due to incorrect mapping terms we still get faulty controller and time series objects in output. In order to make the outputted file valid against SimModel XSD, remove all SimController instances (5 are currently generated from use case 1 model) and SimTimeSeriesSchedule_Year_Default (last instance at end of file)
      40907822
  4. 28 Jun, 2016 1 commit
  5. 03 May, 2016 1 commit
  6. 17 Mar, 2016 1 commit
  7. 29 Feb, 2016 1 commit
    • Steffen Wallner's avatar
      beta release KIT Tool | EneffBIM converter 2016 Version 0.1 notes: please... · 59529161
      Steffen Wallner authored
      beta release KIT Tool | EneffBIM converter 2016  Version 0.1 notes: please notice the README file in the IFCtoSimModel/KIT/EneffBIMconverter folder as it describes how to execute the application. With this release the corresponding generated Simmodel files to the current BIM model files in the EnEffBIM_UseCases repository (GitHub: commit d2a9c5b) can be found in the output subfolders of IFCtoSimModel/KIT/EneffBIMconverter/DIST and ('Debug-Version') IFCtoSimModel/KIT/EneffBIMconverter/Development.
      59529161