Skip to content

Commit

Permalink
@eringold's fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewSteen committed Oct 27, 2023
1 parent 58e1e07 commit d9c0daa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ class PeakConditionMapper < EPlusOut::Mappers::Mapper
{:index => 2, :name => :estimate_instant_delayed_sensible_load, :type => 'double'},
{:index => 3, :name => :main_fan_air_flow, :type => 'double'},
{:index => 4, :name => :mixed_air_temperature, :type => 'double'},
{:index => 5, :name => :outside_dry_bulb_temperature, :type => 'double'},
{:index => 6, :name => :outside_wet_bulb_temperature, :type => 'double'},
{:index => 7, :name => :outside_air_flow, :type => 'double'},
{:index => 8, :name => :outside_humidity_ratio_at_peak, :type => 'double'},
{:index => 5, :name => :outside_air_flow, :type => 'double'},
{:index => 6, :name => :outside_dry_bulb_temperature, :type => 'double'},
{:index => 7, :name => :outside_humidity_ratio_at_peak, :type => 'double'},
{:index => 8, :name => :outside_wet_bulb_temperature, :type => 'double'},
{:index => 9, :name => :peak_sensible_load, :type => 'double'},
{:index => 10, :name => :peak_sensible_load_with_sizing_factor, :type => 'double'},
{:index => 11, :name => :supply_air_temperature, :type => 'double'},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
module EPlusOut
module Models
PeakCondition = Struct.new(:name, :difference_between_peak_and_estimated_sensible_load, :difference_due_to_sizing_factor, :estimate_instant_delayed_sensible_load,
:main_fan_air_flow, :mixed_air_temperature, :outside_dry_bulb_temperature,
:outside_wet_bulb_temperature, :outside_air_flow, :outside_humidity_ratio_at_peak,
:peak_sensible_load, :peak_sensible_load_with_sizing_factor, :supply_air_temperature,
:time_of_peak_load, :zone_dry_bulb_temperature, :zone_humidity_ratio_at_peak,
PeakCondition = Struct.new(:name,
:difference_between_peak_and_estimated_sensible_load,
:difference_due_to_sizing_factor,
:estimate_instant_delayed_sensible_load,
:main_fan_air_flow,
:mixed_air_temperature,
:outside_air_flow,
:outside_dry_bulb_temperature,
:outside_humidity_ratio_at_peak,
:outside_wet_bulb_temperature,
:peak_sensible_load,
:peak_sensible_load_with_sizing_factor,
:supply_air_temperature,
:time_of_peak_load,
:zone_dry_bulb_temperature,
:zone_humidity_ratio_at_peak,
:zone_relative_humidity) do
include Models::Model
end
Expand Down

0 comments on commit d9c0daa

Please sign in to comment.