Skip to content

Commit

Permalink
Typos in sdd maphvac cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Feb 28, 2024
1 parent 422502a commit 3957197
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sdd/MapHVAC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2719,7 +2719,7 @@ namespace sdd {
auto htgSensEff75Element = element.child("HtgSensEff75");
boost::optional<double> _htgSensEff75 = lexicalCastToDouble(htgSensEff75Element);
if (_htgSensEff75) {
if (boost::optional<Curve> curve_ = hx.sensibleEffectivenessofHeatingAirFlowCurve()) {
if (boost::optional<model::Curve> curve_ = hx.sensibleEffectivenessofHeatingAirFlowCurve()) {
if (boost::optional<model::TableLookup> sensibleEffectivenessofHeatingAirFlowCurve_ = curve_->optionalCast<TableLookup>()) {
double sensibleEffectivenessat100HeatingAirFlow = hx.sensibleEffectivenessat100HeatingAirFlow();
sensibleEffectivenessofHeatingAirFlowCurve_->setOutputValues({_htgSensEff75.get(), sensibleEffectivenessat100HeatingAirFlow});
Expand All @@ -2738,7 +2738,7 @@ namespace sdd {
auto htgLatEff75Element = element.child("HtgLatEff75");
boost::optional<double> _htgLatEff75 = lexicalCastToDouble(htgLatEff75Element);
if (_htgLatEff75) {
if (boost::optional<Curve> curve_ = hx.latentEffectivenessofHeatingAirFlowCurve()) {
if (boost::optional<model::Curve> curve_ = hx.latentEffectivenessofHeatingAirFlowCurve()) {
if (boost::optional<model::TableLookup> latentEffectivenessofHeatingAirFlowCurve_ = curve_->optionalCast<TableLookup>()) {
double latentEffectivenessat100HeatingAirFlow = hx.latentEffectivenessat100HeatingAirFlow();
latentEffectivenessofHeatingAirFlowCurve_->setOutputValues({_htgLatEff75.get(), latentEffectivenessat100HeatingAirFlow});
Expand All @@ -2757,7 +2757,7 @@ namespace sdd {
auto clgSensEff75Element = element.child("ClgSensEff75");
boost::optional<double> _clgSensEff75 = lexicalCastToDouble(clgSensEff75Element);
if (_clgSensEff75) {
if (boost::optional<Curve> curve_ = hx.sensibleEffectivenessofCoolingAirFlowCurve()) {
if (boost::optional<model::Curve> curve_ = hx.sensibleEffectivenessofCoolingAirFlowCurve()) {
if (boost::optional<model::TableLookup> sensibleEffectivenessofCoolingAirFlowCurve_ = curve_->optionalCast<TableLookup>()) {
double sensibleEffectivenessat100CoolingAirFlow = hx.sensibleEffectivenessat100CoolingAirFlow();
sensibleEffectivenessofCoolingAirFlowCurve_->setOutputValues({_clgSensEff75.get(), sensibleEffectivenessat100CoolingAirFlow});
Expand All @@ -2776,7 +2776,7 @@ namespace sdd {
auto clgLatEff75Element = element.child("ClgLatEff75");
boost::optional<double> _clgLatEff75 = lexicalCastToDouble(clgLatEff75Element);
if (_clgLatEff75) {
if (boost::optional<Curve> curve_ = hx.latentEffectivenessofCoolingAirFlowCurve()) {
if (boost::optional<model::Curve> curve_ = hx.latentEffectivenessofCoolingAirFlowCurve()) {
if (boost::optional<model::TableLookup> latentEffectivenessofCoolingAirFlowCurve_ = curve_->optionalCast<TableLookup>()) {
double latentEffectivenessat100CoolingAirFlow = hx.latentEffectivenessat100CoolingAirFlow();
latentEffectivenessofCoolingAirFlowCurve_->setOutputValues({_clgLatEff75.get(), latentEffectivenessat100CoolingAirFlow});
Expand Down

0 comments on commit 3957197

Please sign in to comment.