First time here? Check our help page!
2

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!!!

mifg8's avatar
55
mifg8
asked 2018-01-12 18:21:36 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2018-01-13 11:11:45 -0500
edit flag offensive 0 remove flag close merge delete

Comments

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).

JasonGlazer's avatar JasonGlazer (2018-01-15 07:46:42 -0500) edit
add a comment see more comments

1 Answer

2

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.

Avi's avatar
4.3k
Avi
answered 2018-01-13 04:28:20 -0500
edit flag offensive 0 remove flag delete link

Comments

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

mifg8's avatar mifg8 (2018-01-13 18:20:24 -0500) edit
add a comment see more comments