I am seeing an error when trying to write outputs related to hourly and monthly series for grid electricity exports in ElectricTariff. It seems to be in lines 236-237 of results/electric_tariff.jl (https://github.com/NatLabRockies/REopt.jl/blob/master/src/results/electric_tariff.jl#L236):
push!(r[string(binmap[bin], "_monthly_export_series_kwh")], sum(r[export_series][idx]) / p.s.time_steps_per_hour) push!(r[string(binmap[bin], "_monthly_export_cost_benefit_before_tax")], sum((r[rate_series].*r[export_series])[idx]) / p.s.time_steps_per_hour)
There is an error trying to retrieve the time_steps_per_hour variable, since that variable looks like it is contained in p.s.settings, not p.s directly.
I am seeing an error when trying to write outputs related to hourly and monthly series for grid electricity exports in ElectricTariff. It seems to be in lines 236-237 of results/electric_tariff.jl (https://github.com/NatLabRockies/REopt.jl/blob/master/src/results/electric_tariff.jl#L236):
push!(r[string(binmap[bin], "_monthly_export_series_kwh")], sum(r[export_series][idx]) / p.s.time_steps_per_hour) push!(r[string(binmap[bin], "_monthly_export_cost_benefit_before_tax")], sum((r[rate_series].*r[export_series])[idx]) / p.s.time_steps_per_hour)There is an error trying to retrieve the time_steps_per_hour variable, since that variable looks like it is contained in p.s.settings, not p.s directly.