[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EnergyPlus_Support] Re: Dynamic change of a schedule:compact with EMS




Thanks for your reply,

but what do you mean with defining the original value I want as a constant in EMS? Do you mean something like that?

EnergyManagementSystem:Program,
    randmetzone1,            !- Name
    set mm= @randomuniform 0.5 1,  !- Program Line 1
    set MyActivity_Schedule_16_original= SENS_Activity_Schedule_16,  !- Program Line 2
    set MyActivity_Schedule_16_override = (mm*set MyActivity_Schedule_16_original);  !- A4

this step give the same degenerating result. Finally I understand what you mean when you say to use a double schedule, a copy of the original from which I read the value and the original one on which I paste the changed value, but it will be too cumbersome because I will apply this sort of "schedule changing" on very large model, with many zones and it will be very hard to manage all those schedules.

Maybe the question of the 1st anwer may be resolutive...: what do you mean with defining the original value I want as a constant in EMS?




On Monday, March 24, 2014 8:58 PM, Edward G. Lyon <eglyon@xxxxxxx> wrote:

I would guess that if your first value was 1 and after adjustment it is .5 then the next value input for your calculation is the assigned value of .5 and not your original value of 1.  This would result in a degenerating output.  Try either defining the original value you want as a constant in EMS, or if you prefer, put it in a separate schedule that you do not over write with your calculation value.

Ned Lyon, P.E. (MA, WV)
Staff Consultant
SIMPSON GUMPERTZ & HEGER
781.907.9000 main
781.907.9350 direct 
617.285.2162 mobile 
781.907.9009 fax
www.sgh.com

From: EnergyPlus_Support@xxxxxxxxxxxxxxx [mailto:EnergyPlus_Support@xxxxxxxxxxxxxxx] On Behalf Of m.aldegheri@xxxxxxxxx
Sent: Monday, March 24, 2014 2:22 PM
To: EnergyPlus_Support@xxxxxxxxxxxxxxx
Subject: [EnergyPlus_Support] Re: Dynamic change of a schedule:compact with EMS [1 Attachment]


Good evening,

unfortunately my problem is not jet solved. I wrote this code to read the original value of a schedule by a sensor and to change it using an actuator. The actuator should change the original value in the schedule multiplying it for a random calculated factor. Than I wish to report the value of the changed schedule.
In this example I tried to change the CLO and MET schedule but things continue to go wrong.
The schedules have always the value of 0 (or almost 0). I read also the .edd file to see what it's going on and it seems that the annichilation of the schedule values happens during Warmup & Sizing period.
Could anyone confirm this point?
How could I exclude the code working during this period?
Or if this is not the point, where is the mistake, and how can i fix it?

Thanks a lot,
Marco



__._,_.___

Primary EnergyPlus support is found at:
<http://energyplus.helpserve.com>http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

The primary EnergyPlus web site is found at:
<http://www.energyplus.gov>http://www.energyplus.gov

The group web site is:
<http://groups.yahoo.com/group/EnergyPlus_Support/>http://groups.yahoo.com/group/EnergyPlus_Support/

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.


<http://geo.yahoo.com/serv?s=97476590/grpId=3387488/grpspId=1705007389/msgId=31578/stime=1395694149>

<https://groups.yahoo.com/neo/groups/EnergyPlus_Support/info;_ylc=X3oDMTJlNHZoaHMxBF9TAzk3MzU5NzE0BGdycElkAzMzODc0ODgEZ3Jwc3BJZAMxNzA1MDA3Mzg5BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTM5NTY5NDE0OQ-->Visit Your Group
* <https://groups.yahoo.com/neo/groups/EnergyPlus_Support/members/all;_ylc=X3oDMTJmZjQyaWU1BF9TAzk3MzU5NzE0BGdycElkAzMzODc0ODgEZ3Jwc3BJZAMxNzA1MDA3Mzg5BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzEzOTU2OTQxNDk->New Members 9
<https://groups.yahoo.com/neo;_ylc=X3oDMTJkOGNuaWxpBF9TAzk3NDc2NTkwBGdycElkAzMzODc0ODgEZ3Jwc3BJZAMxNzA1MDA3Mzg5BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMzk1Njk0MTQ5><http://l.yimg.com/ru/static/images/yg/img/email/new_logo/logo-groups-137x15.png>
? <https://info.yahoo.com/privacy/us/yahoo/groups/details.html>Privacy ? <mailto:EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>Unsubscribe ? <https://info.yahoo.com/legal/us/yahoo/utos/terms/>Terms of Use
__,_._,___