id: 12459    nodeId: 12459    type: General    point: 18.0    linkPoint: 1.0    maker: cella    permission: linkable    made at: 2018.11.09 10:40    edited at: 2018.11.16 01:52
how to select from ESO file

**** How to read 2Zone..idf:
Only "West Zone" is explained. "East Zone" is similar.

ZoneControl:Thermostat
...
West Zone

This zone control is associated with the West Zone. And,

SetpointManager:SingleZone:Cooling,
...
West Zone, !- Control Zone Name
West Zone Air Node, !- Zone Node Name
West Zone Inlets, !- Zone Inlet Node Name
West Sys Setpoint nodes; !- Setpoint Node or NodeList Name

This setpoint manager is associated with the West Zone.
"West Zone Air Node", "West Zone Inlets", "West Sys Setpoint nodes" are setpoints(?).
"West Zone Inlets" is as follows:

NodeList,
West Zone Inlets, !- Name
West Zone Inlet Node; !- Node 1 Name

"West Sys Setpoint nodes" is as follows:

NodeList,
West Sys Setpoint nodes, !- Name
West Zone DEC Outlet Node, !- Node 1 Name
West Zone IEC Outlet Node, !- Node 2 Name
West Zone CCoil Air Outlet Node, !- Node 3 Name
West Air Loop Outlet Node; !- Node 4 Name


**** How to make eso file
$ energyplus -w weather_file idf_file
Then eplusout.eso is made as a simulation result.

For example,
$ energyplus -w USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw 2ZoneDataCenterHVAC_wEconomizer_8.idf
makes an energyplus.eso.


**** How to select lines of eplusout.eso which is made from idf
As eso file is composed of a dictionary part and a data part.
The dictionary part is composed of lines.
The line contains: the first field is item's ID, ignore the second field, third field is key name,
fourth field is variable name.
(Key name, variable name) compose the name of the item.
For example, a line in the dictionary part like:
983,1,WEST ZONE DEC OUTLET NODE,System Node Setpoint Temperature [C] !TimeStep
indicates that the item "System Node Setpoint Temperature" of "West Zone DEC Outlet Node"
has the ID 983.
In data part, dozens of lines appear every timestep. (Some other lines appear hourly or maybe daily.)
Timestep is set to 15 minutes for 2ZoneDataCenterHVAC_wEconomizer_8.idf.
(2ZoneDataCenterHVAC_wEconomizer_8.idf is the one modified from 2ZoneDataCenterHVAC_wEconomizer.idf
to show setpoint temperatures.)
You can see lines starting with 983 like:
983,16.310125594050115
which indicates that at this timestep, the setpoint temperature is 16.31...

For the current simulation, the follwoing lines are to be selected:

** states
7,1,Environment,Site Outdoor Air Drybulb Temperature [C] !TimeStep
351,1,WEST ZONE,Zone Air Temperature [C] !TimeStep
391,1,EAST ZONE,Zone Air Temperature [C] !TimeStep

** actions
(Actually, each zone uses one setpoint temporature.
Therefore there are four action variables: two temperatures + two mass flow rates.)
983,1,WEST ZONE DEC OUTLET NODE,System Node Setpoint Temperature [C] !TimeStep
985,1,WEST ZONE IEC OUTLET NODE,System Node Setpoint Temperature [C] !TimeStep
987,1,WEST ZONE CCOIL AIR OUTLET NODE,System Node Setpoint Temperature [C] !TimeStep
989,1,WEST AIR LOOP OUTLET NODE,System Node Setpoint Temperature [C] !TimeStep
997,1,EAST ZONE DEC OUTLET NODE,System Node Setpoint Temperature [C] !TimeStep
999,1,EAST ZONE IEC OUTLET NODE,System Node Setpoint Temperature [C] !TimeStep
1001,1,EAST ZONE CCOIL AIR OUTLET NODE,System Node Setpoint Temperature [C] !TimeStep
1003,1,EAST AIR LOOP OUTLET NODE,System Node Setpoint Temperature [C] !TimeStep
977,1,WEST ZONE INLET NODE,System Node Mass Flow Rate [kg/s] !TimeStep (from HVAC equipment into Zone)
991,1,EAST ZONE INLET NODE,System Node Mass Flow Rate [kg/s] !TimeStep (from HVAC equipment into Zone)

** reward
264,1,EMS,Power Utilization Effectiveness [] !TimeStep


Return to how to select from ESO file