[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [EnergyPlus_Support] Re: IMF files & EP Macro
As I mentioned before, there is a small box on the group
simulation box of EP-Launch.
(you have to get a ways in to see it).
EP-Launch is described in the Auxiliary Programs document.
The box says "number of times to repeat IMF simulations".
It sets up a counter so that you can to a test inside the imf file and
would likely suit your purpose. How that would work with JEPlus,
I'm not sure.
At 12:05 AM 5/15/2012, CleanTech Analytics wrote:
Richard, thanks I did as you
said and it worked, Linda Thanks for the example it was very useful, Jean
thanks for the detailed explanation it was very helpful
Yi, thank you for the quick response, I was able to
get jE+ Working, here is a visualisation I created of the days results:
The only issue is the
128 jobs caused an extra 68 baselines to be simulated, and when using the
finite difference algorithm with 60 time steps 68 duplicate baseline runs
is not a desirable parametric..(see attached)
Now I am trying to figure out how to run this with a EP macro calling a
baseline, rather then having an IMF and a separate baseline..
For instance could I use only one temperature enthalpy pair and set the
specific heat at J/kg of an innate material in the PCM object? Or could I
use a blank INP file and call it from the IMF for a baseline? Or is it
possible to have a ##do
not include material property phase change for one of the runs? The goal
would be to have an IMF that calls the following inputs,
Q21,Q23,Q25,Q27,baseline. With the goal of only rotating the baseline but
not running the other jobs on it... I guess I could just do two separate
runs, but would rather not...
I am asking because it seems like their may be a simple solution..
Again many thanks
Jeremiah D.
Crossett
CleanTech Analytics
503-688-8951
www.cleantechanalytics.com
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 Mon, May 14, 2012 at 5:54 AM, Richard Raustad
<RRaustad@xxxxxxxxxxxx>
wrote:
-
- Change your file extension to imf (BASELINE-INCLUDE-BioPCM-INP.imf)
and it should work.
- Edit RunEPlus.bat to see why you need the imf file extension, this is
what trips EPMacro.exe to run and create the combined input
file.
- if exist "%input_path%%~1.imf" copy
"%input_path%%~1.imf" in.imf
- if exist in.imf "%program_path%EPMacro"
- if exist out.idf copy out.idf
"%output_path%%~1.epmidf"
- if exist audit.out copy audit.out
"%output_path%%~1.epmdet"
- if exist audit.out erase audit.out
- if exist out.idf MOVE out.idf in.idf
- On 5/13/2012 7:45 PM, CleanTech Analytics wrote:
- And when trying without !
after each (I thought I found the issue was I was writing to IDD, but did
not work)
- Again to all who may know, any advise would be much appreciated. (one
thing I am not sure of is if this has to be ran with command promp?)
again many thanks
- Program Version,EnergyPlus-32-MP 7.1.0.009+, 5/13/2012 4:39
PM,IDD_Version 7.1.0.009+
- ************* IP: IDF Line~15 ##include
C:\Users\Jeremiah\Desktop\INP-EPMACRO\M27.inp
- ** Severe ** , or ; expected on this line
- ************* IP: IDF Line~16 ##include
C:\Users\Jeremiah\Desktop\INP-EPMACRO\M51.inp
- ** Severe ** , or ; expected on this line
- ************* IP: IDF Line~17 ##include
C:\Users\Jeremiah\Desktop\INP-EPMACRO\M91.inp
- ** Severe ** , or ; expected on this line
- ************* IP: IDF Line~18 ##include
C:\Users\Jeremiah\Desktop\INP-EPMACRO\M182.inp
- ** Severe ** , or ; expected on this line
- ************* IP: IDF Line~19 ##include
C:\Users\Jeremiah\Desktop\INP-EPMACRO\Q21.inp
- ** Severe ** , or ; expected on this line
- ************* IP: IDF Line~20 ##include
C:\Users\Jeremiah\Desktop\INP-EPMACRO\Q23.inp
- ** Severe ** , or ; expected on this line
- ************* IP: IDF Line~21 ##include
C:\Users\Jeremiah\Desktop\INP-EPMACRO\Q25.inp
- ** Severe ** , or ; expected on this line
- ************* IP: IDF Line~22 ##include
C:\Users\Jeremiah\Desktop\INP-EPMACRO\Q27.inp
- ** 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; 8 Severe Errors; Elapsed Time=00hr 03min 26.77sec
- Jeremiah D. Crossett
- CleanTech Analytics
- 503-688-8951
-
www.cleantechanalytics.com
- 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, May 13, 2012 at 4:25 PM, CleanTech Analytics
<
jeremiah@xxxxxxxxxxxxxxxxxxxxxx> wrote:
- I changed the file
extension to .inp, and followed what seemed to make since in the
documentation but still got the error below when runing the attached
files. Any advise as to what I am doing wrong?
- Many thanks-
- Program Version,EnergyPlus-32-MP 7.1.0.009+, 5/13/2012 4:17
PM,IDD_Version 7.1.0.009+
- ************* IP: IDF Line~15 ##include
C:\Users\Jeremiah\Desktop\INP-EPMACRO\M27.inp
- ** 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 28.84sec
- Jeremiah D. Crossett
- CleanTech Analytics
- 503-688-8951
-
www.cleantechanalytics.com
- 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, May 13, 2012 at 4:04 PM, CleanTech Analytics
<
jeremiah@xxxxxxxxxxxxxxxxxxxxxx> wrote:
- Thanks Linda, -- I had
looked everywhere but in the auxiliary programs guide-
- Jeremiah D. Crossett
- CleanTech Analytics
- 503-688-8951
-
www.cleantechanalytics.com
- 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, May 13, 2012 at 3:51 PM, Linda Lawrie
<linda@xxxxxxxxxxxxxx>
wrote:
-
- 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
- > in
- > the 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
- > I
- > click 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