Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page

How to make a parameter changing with timestep and number of run?

I am new at EnergyPlus. I am trying to change the energy consumption of electric equipment with time. I have defined a variable named "=$EE" and want to mention not hourly rather it will change with timestep of 15 minutes. How I can define my time in Schedule:Day:Interval ? I have tried like - Name:$EE
Schedule Type Limits Name: Any Number
Interpolate to Timestep: No
Time 1: from 00:15 to 00:30
value until Time 1: 100
Time 2 : from 00:31 to 00:45
value until Time 2: 100

....... It's not working. I need help. Thanks!!!

edit retag close merge delete

What input are you trying to change every fifteen minutes? It is likely that the approach should be to use EMS rather than the ParametricPreprocessor (which uses the =$EE syntax). ( 2018-01-15 07:46:42 -0500 )edit 1 Answer Sort by ยป oldest newest most voted Look at the Input Output Reference. it should look more like that: Schedule:Day:Interval,$EE,                    !- Name
Any Number,             !- Schedule Type Limits Name
No,                     !- Interpolate to Timestep
until: 00:15,           !- Time 1
0;                      !- Value Until Time 1
until: 00:30,           !- Time 2
100;                    !- Value Until Time 2
until: 00:45,           !- Time3
200;                    !- Value Until Time 3
until: 24:00,           !- Time 4
0;                      !- Value Until Time 4

You must describe 24 hours.

more

Thanks Avi. Can you please suggest me how can I change the value in each timestep and in each run. My concept was like this:

Schedule:Day:Interval,
$EE, !- Name Any Number, !- Schedule Type Limits Name No, !- Interpolate to Timestep until: 00:15, !- Time 1 =$EE1            !- Value Until Time 1
until: 00:30,     !- Time 2
=$EE2 !- Value Until Time 2 Then in Parametric:SetValueForRun Obj1 Obj2 Name:$EE1    \$EE2
ValueforRun1:100      200

However, it's not working, I need help to figure it out

( 2018-01-13 18:20:24 -0500 )edit