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

[EnergyPlus_Support] Re: Overwriting scheduled setpoint with EMS



Brent,

Thank you very much for the suggestion. It works!!!. Finally my heating loop operates depending on outside temperature. Almost, I gave up on EMS for this case and thought of using Schedule:File, since I can convert *.epw into *.csv and then in excel to recalculate values that I need. You saved me a lot of time.
By the way, I am not familiar with programming at all, but this EMS is very tempting


--- In EnergyPlus_Support@xxxxxxxxxxxxxxx, "Griffith, Brent" <brent.griffith@...> wrote:
>
> I suspect the unary "-"  operator in "IF SenzorTempSpoljasnjeg < - 12.0"  may not get parsed properly.  EMS only supports unary minus sign in some cases, like right after a "=" in a SET statement (historically it wasn't supported at all).  Try replacing all instances of "-x" with "(0 - x)"
> 
> 
> 
> 
> 
> 
> 
> From: EnergyPlus_Support@xxxxxxxxxxxxxxx [mailto:EnergyPlus_Support@xxxxxxxxxxxxxxx] On Behalf Of marko.ignjatovic1980
> Sent: Wednesday, October 03, 2012 11:55 AM
> To: EnergyPlus_Support@xxxxxxxxxxxxxxx
> Subject: [EnergyPlus_Support] Overwriting scheduled setpoint with EMS
> 
> 
> 
> Hi all,
> 
> I am having trouble overwriting hot water loop scheduled setpoint temperature which is my case 90oC. I am leaving all object classes related to this. I am trying to put control in hot water loop, and that scheduled temperature varies with outside temperature, since this is the most common heating control in my country. Maybe I didn't understand EMS guide well, because whatever I do, setpoint remains 90
> 
> Here it comes!
> 
> Schedule:Compact,
> HW Loop Schedule, !- Name
> Temperature, !- Schedule Type Limits Name
> Through: 12/31, !- Field 1
> For: AllDays, !- Field 2
> Until:24:00, !- Field 3
> 90; !- Field 4
> 
> !- =========== ALL OBJECTS IN CLASS: BOILER:HOTWATER ===========
> 
> Boiler:HotWater,
> Central Boiler, !- Name
> NaturalGas, !- Fuel Type
> autosize, !- Nominal Capacity {W}
> 0.95, !- Nominal Thermal Efficiency
> LeavingBoiler, !- Efficiency Curve Temperature Evaluation Variable
> Boiler Efficiency, !- Normalized Boiler Efficiency Curve Name
> 90, !- Design Water Outlet Temperature {C}
> autosize, !- Design Water Flow Rate {m3/s}
> 0, !- Minimum Part Load Ratio
> 1.2, !- Maximum Part Load Ratio
> 1, !- Optimum Part Load Ratio
> Central Boiler Inlet Node, !- Boiler Water Inlet Node Name
> Central Boiler Outlet Node, !- Boiler Water Outlet Node Name
> 99.9, !- Water Outlet Upper Temperature Limit {C}
> ConstantFlow, !- Boiler Flow Mode
> , !- Parasitic Electric Load {W}
> 1; !- Sizing Factor
> 
> !- =========== ALL OBJECTS IN CLASS: PLANTLOOP ===========
> 
> PlantLoop,
> Hot Water Loop, !- Name
> Water, !- Fluid Type
> , !- User Defined Fluid Type
> Hot Loop, !- Plant Equipment Operation Scheme Name
> HW Supply Outlet Node, !- Loop Temperature Setpoint Node Name
> 90, !- Maximum Loop Temperature {C}
> 45, !- Minimum Loop Temperature {C}
> autosize, !- Maximum Loop Flow Rate {m3/s}
> 0, !- Minimum Loop Flow Rate {m3/s}
> autocalculate, !- Plant Loop Volume {m3}
> HW Supply Inlet Node, !- Plant Side Inlet Node Name
> HW Supply Outlet Node, !- Plant Side Outlet Node Name
> Heating Supply Side Branches, !- Plant Side Branch List Name
> Heating Supply Side Connectors, !- Plant Side Connector List Name
> HW Demand Inlet Node, !- Demand Side Inlet Node Name
> HW Demand Outlet Node, !- Demand Side Outlet Node Name
> Heating Demand Side Branches, !- Demand Side Branch List Name
> Heating Demand Side Connectors, !- Demand Side Connector List Name
> Optimal, !- Load Distribution Scheme
> , !- Availability Manager List Name
> SingleSetpoint, !- Plant Loop Demand Calculation Scheme
> None, !- Common Pipe Simulation
> None; !- Pressure Simulation Type
> 
> !- =========== ALL OBJECTS IN CLASS: PLANTEQUIPMENTLIST ===========
> 
> PlantEquipmentList,
> Heating Plant, !- Name
> Boiler:HotWater, !- Equipment 1 Object Type
> Central Boiler; !- Equipment 1 Name
> 
> !- =========== ALL OBJECTS IN CLASS: PLANTEQUIPMENTOPERATION:HEATINGLOAD ===========
> 
> PlantEquipmentOperation:HeatingLoad,
> Central Boiler Only, !- Name
> 0, !- Load Range 1 Lower Limit {W}
> 500000, !- Load Range 1 Upper Limit {W}
> Heating Plant; !- Range 1 Equipment List Name
> 
> !- =========== ALL OBJECTS IN CLASS: PLANTEQUIPMENTOPERATIONSCHEMES ===========
> 
> PlantEquipmentOperationSchemes,
> Hot Loop, !- Name
> PlantEquipmentOperation:HeatingLoad, !- Control Scheme 1 Object Type
> Central Boiler Only, !- Control Scheme 1 Name
> BBH availability; !- Control Scheme 1 Schedule Name
> 
> !- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:SENSOR ===========
> 
> EnergyManagementSystem:Sensor,
> SenzorTempSpoljasnjeg, !- Name
> *, !- Output:Variable or Output:Meter Index Key Name
> Outdoor Dry Bulb; !- Output:Variable or Output:Meter Name
> 
> !- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:ACTUATOR ===========
> 
> EnergyManagementSystem:Actuator,
> Aktuator, !- Name
> HW Loop Schedule, !- Actuated Component Unique Name
> Schedule:Compact, !- Actuated Component Type
> Schedule Value; !- Actuated Component Control Type
> 
> !- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:PROGRAMCALLINGMANAGER ===========
> 
> EnergyManagementSystem:ProgramCallingManager,
> Proba, !- Name
> AfterPredictorBeforeHVACManagers, !- EnergyPlus Model Calling Point
> HWLoopTemperature; !- Program Name 1
> 
> !- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:PROGRAM ===========
> 
> EnergyManagementSystem:Program,
> HWLoopTemperature, !- Name
> IF SenzorTempSpoljasnjeg < - 12.0 , SET Aktuator = 90.0, ELSEIF SenzorTempSpoljasnjeg > 12.0 , SET Aktuator = 45.0 , ELSE , SET Aktuator = -1.875 * SenzorTempSpoljasnjeg + 67.5 , ENDIF ;; !- Program Line 1
> 
> !- =========== ALL OBJECTS IN CLASS: SETPOINTMANAGER:SCHEDULED ===========
> 
> SetpointManager:Scheduled,
> Hot Water Loop Setpoint Manager, !- Name
> Temperature, !- Control Variable
> HW Loop Schedule, !- Schedule Name
> HW Supply Outlet Node; !- Setpoint Node or NodeList Name
>




------------------------------------

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

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

The group web site is:
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.
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/join
    (Yahoo! ID required)

<*> To change settings via email:
    EnergyPlus_Support-digest@xxxxxxxxxxxxxxx 
    EnergyPlus_Support-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/