EP Macro is described in the Auxiliary Programs document.If you are using EP-Launch, there is a "inc" that can be set and tested in each subsequent simulation. (I believe there is a simple example shown in the files area here).
The output files from EP-Macro are put as "epmidf" and "epmdet" extensions -- usually in the output files area. It looks like there was a previous set of messages about this -- I will catch up to them tomorrow.
Linda On 13.05.2012 16:46, CleanTech Analytics wrote:
Jean, Thank you kindly for the advise; I have done as you advised, but I can not seem to find the output tables or csv files from the macro simulation.I have attached my files, could you please help me out and point me inthe right direction to use the EP Macro funtonality? My use is to be able to add PCM's to Energy Plus files in JE+ runs. I have it working by using 8 IDF's, but would much rather use the IMF/EP Macro method..Questions: Should I use single file, or group with all IMF's? Should Iclick repeat simulation for IMF in the number (8) of IMF files? Many thanks ! File generated by DesignBuilder - 3.0.0.104 3/18/2012 - 9:46:52 PM ! Source file: C:UsersJeremiahDocumentsDesignBuilder DataASHRAE Room Study.dsb Version, 7.1; !- Version Identifier ##include C:UsersJeremiahDesktopBioPCM IMF'sM27.IMF !##include C:UsersJeremiahDesktopBioPCM IMF'sM51.IMF !##include C:UsersJeremiahDesktopBioPCM IMF'sM91.IMF !##include C:UsersJeremiahDesktopBioPCM IMF'sM182.IMF !##include C:UsersJeremiahDesktopBioPCM IMF'sQ21.IMF !##include C:UsersJeremiahDesktopBioPCM IMF'sQ23.IMF !##include C:UsersJeremiahDesktopBioPCM IMF'sQ25.IMF !##include C:UsersJeremiahDesktopBioPCM IMF'sQ27.IMF !- =========== ALL OBJECTS IN CLASS: SIMULATIONCONTROL =========== Program Version,EnergyPlus-32-MP 7.1.0.009+, 5/13/2012 3:39 PM,IDD_Version 7.1.0.009+ ************* IP: IDF Line~15 ##include C:UsersJeremiahDesktopBioPCM IMF'sM27.IMF ** Severe ** , or ; expected on this line ************* Beginning Zone Sizing Calculations ************* Testing Individual Branch Integrity ************* All Branches passed integrity testing ************* Testing Individual Supply Air Path Integrity ************* All Supply Air Paths passed integrity testing ************* Testing Individual Return Air Path Integrity ************* All Return Air Paths passed integrity testing ************* No node connection errors were found. ************* Beginning Simulation ************* Simulation Error Summary ************* ************* EnergyPlus Warmup Error Summary. During Warmup: 0 Warning; 0 Severe Errors. ************* EnergyPlus Sizing Error Summary. During Sizing: 0 Warning; 0 Severe Errors. ************* EnergyPlus Completed Successfully-- 0 Warning; 1 Severe Errors; Elapsed Time=00hr 03min 36.24sec _Jeremiah D. Crossett_ _CleanTech Analytics_ _503-688-8951_ _www.cleantechanalytics.com_ [1] This document may contain valuable information proprietary to CleanTech Analytics which is private and confidential. It may not be shared, copied, stored or transmitted in any form without the prior written consent of CleanTech Analytics On Sun, Mar 25, 2012 at 10:23 PM, Jean marais wrote:And to illistrate...here is a bit of code epmacro i used to create the CO2 part of my idf for the different zones to which it must be applied. I ran this sepperately (still using eplaunch and just exchanged the include file for the CO2 for this one. It expands into the CO2 idf that I then later included...if that makes sense. Unfortunately it expands with a character that has to be manually removed with find and replace. I can't remember what the character was...possibly a '#' or a space? ##DEF CO2_EMS_FOR_ZONES[mmZone]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!EMS for Damper Control by CO2 Level !*****THIS FILE IS USED TO GENERATE A FILE THAT HAS "" THAT NEED TO BE REMOVED******!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! CC = CurrentCO2Concentration ! CCSP = CurrentCO2SP ! CDP = CurrentDamperPos ! CO2SPUL = CO2_SP_Sensor UPPER LIMIT ! CO2SPLL = CO2_SP_Sensor LOWER LIMIT ! ODACO2SPUL = ODA CO2_SP_Sensor ! ZDCS = ZDC_Sensor ! ZDC = Zone_Damper_Changer ! MDF = MINDAMPERFRACTION ! CMM = CO2ModificationManager ! CMMPr = CO2ModificationManager Program ! CS = CO2_Sensor ! DaLL = Damper Lower Limit EnergyManagementSystem:GlobalVariable, #[mmZone // _CC] , #[mmZone // _CCSP ] , #[mmZone // _CDP ] , #[mmZone // _dDamper ] , #[mmZone // _dCO2 ] , #[mmZone // _MM ] , #[mmZone // _ODACO2SPULV ], #[mmZone // _CO2SPULV ], #[mmZone // _CO2SPLLV ], #[mmZone // _DaLLV ]; !- Erl Variable 2 Name EnergyManagementSystem:Sensor, #[mmZone // _CS] , ! Sensor Name...reporting temperature mmZone ,! Output:Variable or Output:Meter Index Key Name Output:Variable,*,Outdoor Dry Bulb,hourly; !- Zone Average [C] Zone Air Carbon Dioxide Concentration ; ! Output:Variable or Output:Meter Name EnergyManagementSystem:Sensor, #[mmZone // _ODACO2SPUL] , ! Sensor Name...reporting temperature Outdoor CO2 Schedule , ! Output:Variable or Output:Meter Index Key Name Zone/Sys Thermostat Cooling Setpoint Output:Variable,*,Zone/Sys Thermostat Cooling Setpoint,hourly; !- Zone Average [C] Schedule Value ; ! Output:Variable or Output:Meter Name !Setpoint Value EnergyManagementSystem:Sensor, #[mmZone // _CO2SPLL] , ! Sensor Name...reporting schedule properties CO2SPLL , ! Output:Variable or Output:Meter Index Key Name Zone/Sys Thermostat Cooling Setpoint Output:Variable,*,Zone/Sys Thermostat Cooling Setpoint,hourly; !- Zone Average [C] Schedule Value ; ! Output:Variable or Output:Meter Name !Setpoint Value EnergyManagementSystem:Sensor, #[mmZone // _CO2SPUL] , ! Sensor Name...reporting schedule properties CO2SPUL , ! Output:Variable or Output:Meter Index Key Name Zone/Sys Thermostat Cooling Setpoint Output:Variable,*,Zone/Sys Thermostat Cooling Setpoint,hourly; !- Zone Average [C] Schedule Value ; ! Output:Variable or Output:Meter Name EnergyManagementSystem:Sensor, #[mmZone // _DaLL] , !- Name DaLL , ! Output:Variable or Output:Meter Index Key Name...in this case !-EnergyManagementSystem:Actuator Available,COOLING SP SCH,Schedule:Compact,Schedule Value,[ ] Schedule Value ;!Damper Lower Limit Schedule EnergyManagementSystem:Sensor, #[mmZone // _ZDCS] , !- Name mmZone MDF , ! Output:Variable or Output:Meter Index Key Name...in this case !-EnergyManagementSystem:Actuator Available,COOLING SP SCH,Schedule:Compact,Schedule Value,[ ] Schedule Value ;!VAV Terminal Damper Position ; ! Output:Variable or Output:Meter Name ! , Component Unique Name, Component Type, Control Type, Units !EnergyManagementSystem:Actuator Available,MDF,Schedule:Compact,Schedule Value,[ ] EnergyManagementSystem:Actuator, #[mmZone // _ZDC] , !- Name mmZone MDF , !- Actuated Component Unique Name...in this case !-EnergyManagementSystem:Actuator Available,COOLING SP SCH,Schedule:Compact,Schedule Value,[ ] Schedule:Compact, !- Actuated Component Type Schedule Value ; !- Actuated Component Control Type !***Program Calling Proceedure*** EnergyManagementSystem:ProgramCallingManager, #[mmZone // _CMM] , ! Name AfterPredictorAfterHVACManagers,!BeginTimestepBeforePredictor , ! EnergyPlus Model Calling Point #[mmZone // _CMMPr] ; ! Program 1 Name !***Main Program*** !****************** EnergyManagementSystem:Program, #[mmZone // _CMMPr] , ! Program 1 Name SET #[mmZone // _ODACO2SPULV ] = #[mmZone // _ODACO2SPUL], SET #[mmZone // _CO2SPULV ] = #[mmZone // _CO2SPUL], SET #[mmZone // _CO2SPLLV ] = #[mmZone // _CO2SPLL], SET #[mmZone // _DaLLV ] = #[mmZone // _DaLL] , SET #[mmZone // _CC] = #[mmZone // _CS] , SET #[mmZone // _CDP] = #[mmZone // _ZDCS] , SET #[mmZone // _dDamper ] = (1 - #[mmZone // _DaLLV ]), !max min damper positions SET #[mmZone // _dCO2 ] = #[mmZone // _CO2SPULV] - #[mmZone // _CO2SPLLV] , !max min CO2 levels, i.e. SP and ODA CO2 SET #[mmZone // _MM ] = 1 - (#[mmZone // _dDamper ] / #[mmZone // _dCO2 ] * #[mmZone // _CO2SPULV] ) , IF (#[mmZone // _CC] >= #[mmZone // _CO2SPLLV ] ) && (#[mmZone // _CC] #[mmZone // _CO2SPULV ] , SET #[mmZone // _ZDC] = 1 , ENDIF; !***End Main Program*** !********************** ##EndDEF CO2_EMS_FOR_ZONES [U12] CO2_EMS_FOR_ZONES [PE00WN] CO2_EMS_FOR_ZONES [PE00WS] CO2_EMS_FOR_ZONES [PE00WW] CO2_EMS_FOR_ZONES [PE0Z02W] CO2_EMS_FOR_ZONES [PE03W] CO2_EMS_FOR_ZONES [HE00] CO2_EMS_FOR_ZONES [HE0Z03] CO2_EMS_FOR_ZONES [PavN] CO2_EMS_FOR_ZONES [PavS] !*******************************************DEFINE DAMPER SCHEDULES FOR ZONES***************************** ##def DAMPER_SCH_ZONES[mmZone] Schedule:Compact, mmZone MDF, Fraction, Through: 12/31, For: AllDays, Until: 05:00, 0.3,!0, Until: 23:00, 0.7, Until: 24:00, 0.3; ##EndDef DAMPER_SCH_ZONES [U12] DAMPER_SCH_ZONES [PE00WN] DAMPER_SCH_ZONES [PE00WS] DAMPER_SCH_ZONES [PE00WW] DAMPER_SCH_ZONES [PE0Z02W] DAMPER_SCH_ZONES [PE03W] DAMPER_SCH_ZONES [HE00] DAMPER_SCH_ZONES [HE0Z03] DAMPER_SCH_ZONES [PavN] DAMPER_SCH_ZONES [PavS] !*******************************************END DEFINE DAMPER SCHEDULES FOR ZONES **********************__._,_.___ Primary EnergyPlus support is found at: http://energyplus.helpserve.com [3] or send a message to energyplus-support@xxxxxxxx The primary EnergyPlus web site is found at: http://www.energyplus.gov [4] The group web site is: http://groups.yahoo.com/group/EnergyPlus_Support/ [5] Attachments are currently allowed but be mindful that not everyone has a high speed connection. Limit attachments to small files. EnergyPlus Documentation is searchable. Open EPlusMainMenu.pdf under the Documentation link and press the "search" button. Your email settings: Individual Email|Traditional Change settings via the Web [6] (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest [7] | Switch to Fully Featured Visit Your Group [8] | Yahoo! Groups Terms of Use [9] | Unsubscribe [10] __,_._,___ Links: ------ [1] http://www.cleantechanalytics.com [2] mailto:jeannieboef@xxxxxxxxx [3] http://energyplus.helpserve.com [4] http://www.energyplus.gov [5] http://groups.yahoo.com/group/EnergyPlus_Support/ [6] http://groups.yahoo.com/group/EnergyPlus_Support/join;_ylc=X3oDMTJmNzFiZ3NhBF9TAzk3NDc2NTkwBGdycElkAzMzODc0ODgEZ3Jwc3BJZAMxNzA1MDA3Mzg5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEzMzY5NDkxODQ- [7] mailto:EnergyPlus_Support-digest@xxxxxxxxxxxxxxx?subject=EmailDelivery:Digest [8] http://groups.yahoo.com/group/EnergyPlus_Support;_ylc=X3oDMTJkYnN0NGdsBF9TAzk3NDc2NTkwBGdycElkAzMzODc0ODgEZ3Jwc3BJZAMxNzA1MDA3Mzg5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMzM2OTQ5MTg0 [9] http://docs.yahoo.com/info/terms/ [10] mailto:EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe