GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 0 / 1 / 1
Functions: -% 0 / 1 / 1
Branches: -% 0 / 1 / 1

src/energyplus/ForwardTranslator.hpp
Line Branch Exec Source
1 /***********************************************************************************************************************
2 * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC.
3 * See also https://openstudio.net/license
4 ***********************************************************************************************************************/
5
6 #ifndef ENERGYPLUS_FORWARDTRANSLATOR_HPP
7 #define ENERGYPLUS_FORWARDTRANSLATOR_HPP
8
9 #include "EnergyPlusAPI.hpp"
10 #include "../model/Model.hpp"
11 #include "../model/ConstructionBase.hpp"
12 #include "../model/HVACComponent.hpp"
13 #include "../utilities/idf/Workspace.hpp"
14 #include "../utilities/core/Logger.hpp"
15 #include "../utilities/core/StringStreamLogSink.hpp"
16 #include "../utilities/filetypes/ForwardTranslatorOptions.hpp"
17 #include "../utilities/time/Time.hpp"
18
19 #include "../utilities/core/Deprecated.hpp"
20
21 #include <iostream>
22
23 namespace openstudio {
24
25 class ProgressBar;
26 class Transformation;
27
28 namespace model {
29
30 class AirConditionerVariableRefrigerantFlow;
31 class AirConditionerVariableRefrigerantFlowFluidTemperatureControl;
32 class AirConditionerVariableRefrigerantFlowFluidTemperatureControlHR;
33 class AirflowNetworkSimulationControl;
34 class AirflowNetworkZone;
35 class AirflowNetworkSurface;
36 class AirflowNetworkReferenceCrackConditions;
37 class AirflowNetworkCrack;
38 class AirflowNetworkEffectiveLeakageArea;
39 class AirflowNetworkDetailedOpening;
40 class AirflowNetworkSimpleOpening;
41 class AirflowNetworkHorizontalOpening;
42 class AirflowNetworkSpecifiedFlowRate;
43 class AirflowNetworkZoneExhaustFan;
44 class AirflowNetworkExternalNode;
45 class AirflowNetworkDistributionNode;
46 class AirflowNetworkLeakageRatio;
47 class AirflowNetworkDuct;
48 class AirflowNetworkFan;
49 class AirflowNetworkEquivalentDuct;
50 class AirflowNetworkConstantPressureDrop;
51 class AirflowNetworkOutdoorAirflow;
52 class AirflowNetworkDistributionLinkage;
53 class AirflowNetworkDuctViewFactors;
54 class AirflowNetworkOccupantVentilationControl;
55 class AirGap;
56 class AirLoopHVAC;
57 class AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass;
58 class AirLoopHVACUnitaryHeatPumpAirToAir;
59 class AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed;
60 class AirLoopHVACUnitarySystem;
61 class AirLoopHVACReturnPlenum;
62 class AirLoopHVACSupplyPlenum;
63 class AirLoopHVACZoneSplitter;
64 class AirTerminalDualDuctConstantVolume;
65 class AirTerminalDualDuctVAV;
66 class AirTerminalDualDuctVAVOutdoorAir;
67 class AirTerminalSingleDuctConstantVolumeCooledBeam;
68 class AirTerminalSingleDuctConstantVolumeFourPipeInduction;
69 class AirTerminalSingleDuctConstantVolumeFourPipeBeam;
70 class AirTerminalSingleDuctConstantVolumeReheat;
71 class AirTerminalSingleDuctParallelPIUReheat;
72 class AirTerminalSingleDuctSeriesPIUReheat;
73 class AirTerminalSingleDuctConstantVolumeNoReheat;
74 class AirTerminalSingleDuctVAVNoReheat;
75 class AirTerminalSingleDuctVAVReheat;
76 class AirTerminalSingleDuctInletSideMixer;
77 class AirTerminalSingleDuctVAVHeatAndCoolNoReheat;
78 class AirTerminalSingleDuctVAVHeatAndCoolReheat;
79 class AirLoopHVACZoneMixer;
80 class AirLoopHVACOutdoorAirSystem;
81 class AirLoopHVACDedicatedOutdoorAirSystem;
82 class AvailabilityManagerAssignmentList;
83 class AvailabilityManagerHybridVentilation;
84 class AvailabilityManagerOptimumStart;
85 class AvailabilityManagerDifferentialThermostat;
86 class AvailabilityManagerNightVentilation;
87 class AvailabilityManagerNightCycle;
88 class AvailabilityManagerHighTemperatureTurnOn;
89 class AvailabilityManagerHighTemperatureTurnOff;
90 class AvailabilityManagerLowTemperatureTurnOn;
91 class AvailabilityManagerLowTemperatureTurnOff;
92 class AvailabilityManagerScheduled;
93 class AvailabilityManagerScheduledOn;
94 class AvailabilityManagerScheduledOff;
95 class Blind;
96 class Building;
97 class BoilerHotWater;
98 class BoilerSteam;
99 class CentralHeatPumpSystem;
100 class CFactorUndergroundWallConstruction;
101 class ChillerAbsorption;
102 class ChillerAbsorptionIndirect;
103 class ChillerElectricASHRAE205;
104 class ChillerElectricEIR;
105 class ChillerElectricReformulatedEIR;
106 class ChillerHeaterPerformanceElectricEIR;
107 class CoilCoolingDX;
108 class CoilCoolingDXCurveFitPerformance;
109 class CoilCoolingDXCurveFitOperatingMode;
110 class CoilCoolingDXCurveFitSpeed;
111 class CoilCoolingDXMultiSpeed;
112 class CoilCoolingDXSingleSpeed;
113 class CoilCoolingDXSingleSpeedThermalStorage;
114 class CoilCoolingDXTwoSpeed;
115 class CoilCoolingDXTwoStageWithHumidityControlMode;
116 class CoilCoolingDXVariableRefrigerantFlow;
117 class CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl;
118 class CoilCoolingDXVariableSpeed;
119 class CoilCoolingWater;
120 class CoilCoolingWaterToAirHeatPumpEquationFit;
121 class CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit;
122 class CoilHeatingDesuperheater;
123 class CoilHeatingDXMultiSpeed;
124 class CoilHeatingDXSingleSpeed;
125 class CoilHeatingDXVariableRefrigerantFlow;
126 class CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl;
127 class CoilHeatingDXVariableSpeed;
128 class CoilHeatingElectric;
129 class CoilHeatingElectricMultiStage;
130 class CoilHeatingGas;
131 class CoilHeatingGasMultiStage;
132 class CoilHeatingWater;
133 class CoilHeatingWaterToAirHeatPumpEquationFit;
134 class CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit;
135 class CoilPerformanceDXCooling;
136 class CoilSystemCoolingDXHeatExchangerAssisted;
137 class CoilSystemCoolingWater;
138 class CoilSystemCoolingWaterHeatExchangerAssisted;
139 class CoilSystemIntegratedHeatPumpAirSource;
140 class CoilUserDefined;
141 class CoilWaterHeatingDesuperheater;
142 class CoilWaterHeatingAirToWaterHeatPump;
143 class CoilWaterHeatingAirToWaterHeatPumpVariableSpeed;
144 class CoilWaterHeatingAirToWaterHeatPumpWrapped;
145 class Construction;
146 class ConstructionAirBoundary;
147 class ConstructionWithInternalSource;
148 class ControllerOutdoorAir;
149 class ControllerMechanicalVentilation;
150 class ControllerWaterCoil;
151 class ConvergenceLimits;
152 class CoolingTowerPerformanceCoolTools;
153 class CoolingTowerPerformanceYorkCalc;
154 class CoolingTowerSingleSpeed;
155 class CoolingTowerTwoSpeed;
156 class CoolingTowerVariableSpeed;
157 class CurrencyType;
158 class CurveBicubic;
159 class CurveBiquadratic;
160 class CurveCubic;
161 class CurveDoubleExponentialDecay;
162 class CurveExponent;
163 class CurveExponentialDecay;
164 class CurveExponentialSkewNormal;
165 class CurveFanPressureRise;
166 class CurveFunctionalPressureDrop;
167 class CurveLinear;
168 class CurveQuadLinear;
169 class CurveQuintLinear;
170 class CurveQuadratic;
171 class CurveQuadraticLinear;
172 class CurveQuartic;
173 class CurveRectangularHyperbola1;
174 class CurveRectangularHyperbola2;
175 class CurveSigmoid;
176 class CurveTriquadratic;
177 class DaylightingControl;
178 class DaylightingDeviceShelf;
179 class DaylightingDeviceTubular;
180 class DaylightingDeviceLightWell;
181 class DaylightRedirectionDevice;
182 class DesignDay;
183 class DesignSpecificationOutdoorAir;
184 class DistrictCooling;
185 class DistrictHeatingWater;
186 class DistrictHeatingSteam;
187 class Duct;
188 class ElectricEquipment;
189 class ElectricEquipmentDefinition;
190 class ElectricEquipmentITEAirCooled;
191 class ElectricEquipmentITEAirCooledDefinition;
192 class ElectricLoadCenterDistribution;
193 class ElectricLoadCenterInverterLookUpTable;
194 class ElectricLoadCenterInverterSimple;
195 class ElectricLoadCenterInverterPVWatts;
196 class ElectricLoadCenterStorageSimple;
197 class ElectricLoadCenterStorageConverter;
198 class ElectricLoadCenterStorageLiIonNMCBattery;
199 class ElectricLoadCenterTransformer;
200 class EnergyManagementSystemActuator;
201 class EnergyManagementSystemConstructionIndexVariable;
202 class EnergyManagementSystemCurveOrTableIndexVariable;
203 class EnergyManagementSystemGlobalVariable;
204 class EnergyManagementSystemInternalVariable;
205 class EnergyManagementSystemMeteredOutputVariable;
206 class EnergyManagementSystemOutputVariable;
207 class EnergyManagementSystemProgram;
208 class EnergyManagementSystemProgramCallingManager;
209 class EnergyManagementSystemSensor;
210 class EnergyManagementSystemSubroutine;
211 class EnergyManagementSystemTrendVariable;
212 class EvaporativeCoolerDirectResearchSpecial;
213 class EvaporativeCoolerIndirectResearchSpecial;
214 class EvaporativeFluidCoolerSingleSpeed;
215 class EvaporativeFluidCoolerTwoSpeed;
216 class ExteriorLights;
217 class ExteriorFuelEquipment;
218 class ExteriorWaterEquipment;
219 class ExternalInterface;
220 class ExternalInterfaceActuator;
221 class ExternalInterfaceFunctionalMockupUnitExportFromVariable;
222 class ExternalInterfaceFunctionalMockupUnitExportToActuator;
223 class ExternalInterfaceFunctionalMockupUnitExportToSchedule;
224 class ExternalInterfaceFunctionalMockupUnitExportToVariable;
225 class ExternalInterfaceFunctionalMockupUnitImport;
226 class ExternalInterfaceFunctionalMockupUnitImportFromVariable;
227 class ExternalInterfaceFunctionalMockupUnitImportToActuator;
228 class ExternalInterfaceFunctionalMockupUnitImportToSchedule;
229 class ExternalInterfaceFunctionalMockupUnitImportToVariable;
230 class ExternalInterfaceSchedule;
231 class ExternalInterfaceVariable;
232 class FanComponentModel;
233 class FanConstantVolume;
234 class FanOnOff;
235 class FanSystemModel;
236 class FanVariableVolume;
237 class FanZoneExhaust;
238 class FFactorGroundFloorConstruction;
239 class FluidCoolerSingleSpeed;
240 class FluidCoolerTwoSpeed;
241 class FoundationKiva;
242 class FoundationKivaSettings;
243 class Gas;
244 class GasEquipment;
245 class GasEquipmentDefinition;
246 class GasMixture;
247 class GeneratorMicroTurbine;
248 class GeneratorFuelCell;
249 class GeneratorFuelCellAirSupply;
250 class GeneratorFuelCellAuxiliaryHeater;
251 class GeneratorFuelCellElectricalStorage;
252 class GeneratorFuelCellExhaustGasToWaterHeatExchanger;
253 class GeneratorFuelCellInverter;
254 class GeneratorFuelCellPowerModule;
255 class GeneratorFuelCellStackCooler;
256 class GeneratorFuelCellWaterSupply;
257 class GeneratorFuelSupply;
258 class GeneratorPhotovoltaic;
259 class GeneratorPVWatts;
260 class GeneratorWindTurbine;
261 class GroundHeatExchangerHorizontalTrench;
262 class GroundHeatExchangerVertical;
263 class HeaderedPumpsConstantSpeed;
264 class HeaderedPumpsVariableSpeed;
265 class HeatBalanceAlgorithm;
266 class HeatExchangerAirToAirSensibleAndLatent;
267 class HeatExchangerDesiccantBalancedFlow;
268 class HeatExchangerDesiccantBalancedFlowPerformanceDataType1;
269 class HeatExchangerFluidToFluid;
270 class HeatPumpAirToWater;
271 class HeatPumpAirToWaterCooling;
272 class HeatPumpAirToWaterHeating;
273 class HeatPumpAirToWaterFuelFiredHeating;
274 class HeatPumpAirToWaterFuelFiredCooling;
275 class HeatPumpWaterToWaterEquationFitCooling;
276 class HeatPumpWaterToWaterEquationFitHeating;
277 class HeatPumpPlantLoopEIRCooling;
278 class HeatPumpPlantLoopEIRHeating;
279 class HotWaterEquipment;
280 class HotWaterEquipmentDefinition;
281 class HumidifierSteamElectric;
282 class HumidifierSteamGas;
283 class IlluminanceMap;
284 class InsideSurfaceConvectionAlgorithm;
285 class InfraredTransparentMaterial;
286 class InteriorPartitionSurface;
287 class InteriorPartitionSurfaceGroup;
288 class InternalMass;
289 class LoadProfilePlant;
290 class LifeCycleCost;
291 class LifeCycleCostParameters;
292 class Lights;
293 class LightsDefinition;
294 class Luminaire;
295 class MaterialPropertyGlazingSpectralData;
296 class MaterialPropertyMoisturePenetrationDepthSettings;
297 class MaterialPropertyPhaseChange;
298 class MaterialPropertyPhaseChangeHysteresis;
299 class MasslessOpaqueMaterial;
300 class MeterCustom;
301 class MeterCustomDecrement;
302 class Node;
303 class OtherEquipment;
304 class OtherEquipmentDefinition;
305 class OutsideSurfaceConvectionAlgorithm;
306 class OutputControlFiles;
307 class OutputControlReportingTolerances;
308 class OutputControlResilienceSummaries;
309 class OutputControlTableStyle;
310 class OutputControlTimestamp;
311 class OutputDebuggingData;
312 class OutputDiagnostics;
313 class OutputJSON;
314 class OutputSQLite;
315 class OutputSchedules;
316 class OutputConstructions;
317 class OutputEnvironmentalImpactFactors;
318 class EnvironmentalImpactFactors;
319 class FuelFactors;
320 class OutputMeter;
321 class OutputVariable;
322 class OutputEnergyManagementSystem;
323 class OutputTableAnnual;
324 class OutputTableMonthly;
325 class OutputTableSummaryReports;
326 class People;
327 class PeopleDefinition;
328 class PerformancePrecisionTradeoffs;
329 class PhotovoltaicPerformanceEquivalentOneDiode;
330 class PhotovoltaicPerformanceSimple;
331 class PhotovoltaicPerformanceSandia;
332 class PipeAdiabatic;
333 class PipeIndoor;
334 class PipeOutdoor;
335 class PlantLoop;
336 class PlantComponentTemperatureSource;
337 class PlantComponentUserDefined;
338 class PlantEquipmentOperationCoolingLoad;
339 class PlantEquipmentOperationHeatingLoad;
340 class PlantEquipmentOperationOutdoorDryBulb;
341 class PlantEquipmentOperationOutdoorWetBulb;
342 class PlantEquipmentOperationOutdoorDewpoint;
343 class PlantEquipmentOperationOutdoorRelativeHumidity;
344 class PlantEquipmentOperationOutdoorDryBulbDifference;
345 class PlantEquipmentOperationOutdoorWetBulbDifference;
346 class PlantEquipmentOperationOutdoorDewpointDifference;
347 class PortList;
348 class PumpConstantSpeed;
349 class PumpVariableSpeed;
350 class PythonPluginInstance;
351 class PythonPluginVariable;
352 class PythonPluginTrendVariable;
353 class PythonPluginOutputVariable;
354 class PythonPluginSearchPaths;
355 class RefractionExtinctionGlazing;
356 class RefrigerationAirChiller;
357 class RefrigerationCase;
358 class RefrigerationCompressor;
359 class RefrigerationCompressorRack;
360 class RefrigerationCondenserAirCooled;
361 class RefrigerationCondenserCascade;
362 class RefrigerationCondenserEvaporativeCooled;
363 class RefrigerationCondenserWaterCooled;
364 class RefrigerationGasCoolerAirCooled;
365 class RefrigerationSubcoolerLiquidSuction;
366 class RefrigerationSubcoolerMechanical;
367 class RefrigerationSecondarySystem;
368 class RefrigerationSystem;
369 class RefrigerationTranscriticalSystem;
370 class RefrigerationWalkIn;
371 class RoofVegetation;
372 class RunPeriod;
373 class RunPeriodControlDaylightSavingTime;
374 class RunPeriodControlSpecialDays;
375 class Screen;
376 class SetpointManagerColdest;
377 class SetpointManagerFollowGroundTemperature;
378 class SetpointManagerFollowOutdoorAirTemperature;
379 class SetpointManagerFollowSystemNodeTemperature;
380 class SetpointManagerMixedAir;
381 class SetpointManagerMultiZoneCoolingAverage;
382 class SetpointManagerMultiZoneHeatingAverage;
383 class SetpointManagerMultiZoneHumidityMaximum;
384 class SetpointManagerMultiZoneHumidityMinimum;
385 class SetpointManagerMultiZoneMaximumHumidityAverage;
386 class SetpointManagerMultiZoneMinimumHumidityAverage;
387 class SetpointManagerOutdoorAirPretreat;
388 class SetpointManagerOutdoorAirReset;
389 class SetpointManagerScheduled;
390 class SetpointManagerScheduledDualSetpoint;
391 class SetpointManagerSingleZoneCooling;
392 class SetpointManagerSingleZoneHeating;
393 class SetpointManagerSingleZoneHumidityMaximum;
394 class SetpointManagerSingleZoneHumidityMinimum;
395 class SetpointManagerSingleZoneOneStageCooling;
396 class SetpointManagerSingleZoneOneStageHeating;
397 class SetpointManagerSingleZoneReheat;
398 class SetpointManagerWarmest;
399 class SetpointManagerWarmestTemperatureFlow;
400 class SetpointManagerSystemNodeResetHumidity;
401 class SetpointManagerSystemNodeResetTemperature;
402 class ShadowCalculation;
403 class Shade;
404 class SimulationControl;
405 class SiteGroundReflectance;
406 class SiteGroundTemperatureBuildingSurface;
407 class SiteGroundTemperatureDeep;
408 class SiteGroundTemperatureFCfactorMethod;
409 class SiteGroundTemperatureShallow;
410 class SiteGroundTemperatureUndisturbedKusudaAchenbach;
411 class SiteGroundTemperatureUndisturbedXing;
412 class SiteWaterMainsTemperature;
413 class SizingParameters;
414 class SizingPlant;
415 class SizingSystem;
416 class SizingZone;
417 class SpaceLoad;
418 class StandardGlazing;
419 class StandardOpaqueMaterial;
420 class SimpleGlazing;
421 class ScheduleCompact;
422 class ScheduleConstant;
423 class ScheduleDay;
424 class ScheduleFile;
425 class ScheduleFixedInterval;
426 class ScheduleRuleset;
427 class ScheduleTypeLimits;
428 class ScheduleVariableInterval;
429 class ScheduleWeek;
430 class ScheduleYear;
431 class ShadingControl;
432 class ShadingSurface;
433 class ShadingSurfaceGroup;
434 class Site;
435 class SkyTemperature;
436 class SolarCollectorFlatPlatePhotovoltaicThermal;
437 class SolarCollectorFlatPlateWater;
438 class SolarCollectorIntegralCollectorStorage;
439 class SolarCollectorPerformanceFlatPlate;
440 class SolarCollectorPerformanceIntegralCollectorStorage;
441 class SolarCollectorPerformancePhotovoltaicThermalBIPVT;
442 class SolarCollectorPerformancePhotovoltaicThermalSimple;
443 class Space;
444 class SpaceInfiltrationDesignFlowRate;
445 class SpaceInfiltrationEffectiveLeakageArea;
446 class SpaceInfiltrationFlowCoefficient;
447 class SpaceVentilationDesignFlowRate;
448 class SpaceType;
449 class SteamEquipment;
450 class SteamEquipmentDefinition;
451 class SubSurface;
452 class Surface;
453 class SurfaceControlMovableInsulation;
454 class SurfacePropertyConvectionCoefficients;
455 class SurfacePropertyConvectionCoefficientsMultipleSurface;
456 class SurfacePropertyLocalEnvironment;
457 class SurfacePropertyExposedFoundationPerimeter;
458 class SurfacePropertyOtherSideCoefficients;
459 class SurfacePropertyOtherSideConditionsModel;
460 class SurfacePropertySurroundingSurfaces;
461 class SurfacePropertyGroundSurfaces;
462 class SurfacePropertyIncidentSolarMultiplier;
463 class SwimmingPoolIndoor;
464 class TableMultiVariableLookup;
465 class TableLookup;
466 class TableIndependentVariable;
467 class TemperingValve;
468 class ThermalZone;
469 class ThermalStorageIceDetailed;
470 class ThermalStorageChilledWaterStratified;
471 class ThermochromicGlazing;
472 class ThermostatSetpointDualSetpoint;
473 class Timestep;
474 class UnitarySystemPerformanceMultispeed;
475 class Version;
476 class WaterHeaterMixed;
477 class WaterHeaterHeatPump;
478 class WaterHeaterHeatPumpWrappedCondenser;
479 class WaterHeaterSizing;
480 class WaterHeaterStratified;
481 class WaterUseConnections;
482 class WaterUseEquipment;
483 class WindowPropertyFrameAndDivider;
484 class ZoneAirContaminantBalance;
485 class ZoneAirHeatBalanceAlgorithm;
486 class ZoneAirMassFlowConservation;
487 class ZoneCapacitanceMultiplierResearchSpecial;
488 class ZoneControlContaminantController;
489 class ZoneControlHumidistat;
490 class ZoneControlThermostatStagedDualSetpoint;
491 class ZoneHVACBaseboardConvectiveElectric;
492 class ZoneHVACBaseboardConvectiveWater;
493 class ZoneHVACBaseboardRadiantConvectiveElectric;
494 class ZoneHVACBaseboardRadiantConvectiveWater;
495 class ZoneHVACCoolingPanelRadiantConvectiveWater;
496 class ZoneHVACDehumidifierDX;
497 class ZoneHVACEnergyRecoveryVentilator;
498 class ZoneHVACEnergyRecoveryVentilatorController;
499 class ZoneHVACEquipmentList;
500 class ZoneHVACEvaporativeCoolerUnit;
501 class ZoneHVACFourPipeFanCoil;
502 class ZoneHVACHighTemperatureRadiant;
503 class ZoneHVACIdealLoadsAirSystem;
504 class ZoneHVACLowTemperatureRadiantElectric;
505 class ZoneHVACLowTempRadiantConstFlow;
506 class ZoneHVACLowTempRadiantVarFlow;
507 class ZoneHVACPackagedTerminalHeatPump;
508 class ZoneHVACPackagedTerminalAirConditioner;
509 class ZoneHVACTerminalUnitVariableRefrigerantFlow;
510 class ZoneHVACUnitHeater;
511 class ZoneHVACUnitVentilator;
512 class ZoneHVACWaterToAirHeatPump;
513 class ZoneMixing;
514 class ZoneMRTCalculation;
515 class ComfortViewFactorAngles;
516 class ZonePropertyUserViewFactorsBySurfaceName;
517 class ZoneVentilationDesignFlowRate;
518 class ZoneVentilationWindandStackOpenArea;
519 } // namespace model
520
521 namespace energyplus {
522
523 namespace detail {
524 struct ForwardTranslatorInitializer;
525
526 // TODO: I have to put this back because of AirTerminalDualDuctVAV which should be using Control for Outdoor Air
527 // I'm setting it up as a free function in detail:: though, so you know you shouldn't call it!
528 boost::optional<IdfObject> translateDesignSpecificationOutdoorAir(model::DesignSpecificationOutdoorAir& modelObject);
529 }; // namespace detail
530
531 #define ENERGYPLUS_VERSION "26.2"
532
533 class ENERGYPLUS_API ForwardTranslator
534 {
535 public:
536 ForwardTranslator();
537
538 /** Translates the given Model to a Workspace.
539 */
540 Workspace translateModel(const model::Model& model, ProgressBar* progressBar = nullptr);
541
542 /** Translates a ModelObject into a Workspace
543 */
544 Workspace translateModelObject(model::ModelObject& modelObject);
545
546 /** Get warning messages generated by the last translation.
547 */
548 std::vector<LogMessage> warnings() const;
549
550 /** Get error messages generated by the last translation.
551 */
552 std::vector<LogMessage> errors() const;
553
554 ForwardTranslatorOptions forwardTranslatorOptions() const;
555
556 void setForwardTranslatorOptions(ForwardTranslatorOptions forwardTranslatorOptions);
557
558 /** @Convenience methods for ForwardTranslatorOptions (and for backward compatibility) */
559 //@{
560 //
561 /** keepRunControlSpecialDays is enabled by default. You can use this method to NOT translate the holidays in the model.
562 */
563 void setKeepRunControlSpecialDays(bool keepRunControlSpecialDays);
564
565 /** If isIP, translate to a Workspace that requests Inch Pound tabular (HTML) reports from EnergyPlus
566 * Use this interface with extreme caution and understanding of the impacts of reporting IP units.
567 * Some assumptions in OpenStudio results processing may fail.
568 */
569 void setIPTabularOutput(bool isIP);
570
571 /** If excludeLCCObjects, skip translation of life cycle cost objects.
572 * Use this interface with extreme caution and understanding of the impacts.
573 * Some assumptions in OpenStudio will fail if you exclude life cycle costs
574 */
575 void setExcludeLCCObjects(bool excludeLCCObjects);
576
577 /** If excludeSQliteOutputReport, do not include the Output:Sqlite object.
578 * Use this at your own risks */
579 void setExcludeSQliteOutputReport(bool excludeSQliteOutputReport);
580
581 /** If excludeHTMLOutputReport, do not include the Output:Table:SummaryReports object.
582 * Use this at your own risks */
583 void setExcludeHTMLOutputReport(bool excludeHTMLOutputReport);
584
585 /** If excludeVariableDictionary, do not include the Output:VariableDictionary object.
586 * Use this at your own risks */
587 void setExcludeVariableDictionary(bool excludeVariableDictionary);
588
589 /** If excludeSpaceTranslation, do usual combineSpaces(), etc. Otherwise, translate space objects.
590 * Use this at your own risks */
591 void setExcludeSpaceTranslation(bool excludeSpaceTranslation);
592
593 /** If excludeSpaceLoadInstances is false, translate SpaceLoads (People, Lights, ElectricEquipment, etc)
594 * to their EnergyPlus ...:Definition / ...:Instance object pairs instead of the legacy combined objects.
595 * Use this at your own risks */
596 void setExcludeSpaceLoadInstances(bool excludeSpaceLoadInstances);
597
598 //@}
599
600 private:
601 − REGISTER_LOGGER("openstudio.energyplus.ForwardTranslator");
602
603 /** Translates the given Model to a workspace. If fullModelTranslation is true
604 * various "front matter" objects (such as global geometry rules and others) are added to the workspace so that it is fully
605 * prepared for simulation.
606 *
607 * The method translateModelPrivate() carries out its work by explicitly translating the highest level objects in
608 * the model by calling translateAndMapModelObject(). The translateAndMapModelObject method in turn calls a type
609 * specific function to translate the given object. Each type specific function is responsible for translating
610 * not only the direct model object passed into it, but also related model objects under its purview. Related objects
611 * are often identified by an object list reference pointing to them, but this rule is not absolute. For example,
612 * AirLoopHVAC is connected to other components via node connections and the translate function for AirLoopHVAC
613 * is responsible for translating the components associated with the loop. The method translateAndMapModelObject()
614 * uses an internal map to determine if a model object has already been translated, therefore there is no
615 * concern of translating a model object twice, provided that model objects are always translated using the
616 * translateAndMapModelObject() interface as opposed to the type specific translators.
617 */
618 Workspace translateModelPrivate(model::Model& model, bool fullModelTranslation);
619
620 // Pick up the Zone, ZoneList, Space or SpaceList (if allowSpaceType is true) object for a given SpaceLoad (or SpaceLoadInstance)
621 IdfObject getSpaceLoadParent(const model::SpaceLoad& sp, bool allowSpaceType = true);
622
623 // NOLINTBEGIN(readability-function-size, bugprone-branch-clone)
624 boost::optional<IdfObject> translateAndMapModelObject(model::ModelObject& modelObject);
625 // NOLINTEND(readability-function-size, bugprone-branch-clone)
626
627 boost::optional<IdfObject> translateAirConditionerVariableRefrigerantFlow(model::AirConditionerVariableRefrigerantFlow& modelObject);
628
629 boost::optional<IdfObject> translateAirConditionerVariableRefrigerantFlowFluidTemperatureControl(
630 model::AirConditionerVariableRefrigerantFlowFluidTemperatureControl& modelObject);
631
632 boost::optional<IdfObject> translateAirConditionerVariableRefrigerantFlowFluidTemperatureControlHR(
633 model::AirConditionerVariableRefrigerantFlowFluidTemperatureControlHR& modelObject);
634
635 boost::optional<IdfObject> translateAirflowNetworkSimulationControl(model::AirflowNetworkSimulationControl& modelObject);
636
637 boost::optional<IdfObject> translateAirflowNetworkZone(model::AirflowNetworkZone& modelObject);
638
639 boost::optional<IdfObject> translateAirflowNetworkSurface(model::AirflowNetworkSurface& modelObject);
640
641 boost::optional<IdfObject> translateAirflowNetworkReferenceCrackConditions(model::AirflowNetworkReferenceCrackConditions& modelObject);
642
643 boost::optional<IdfObject> translateAirflowNetworkCrack(model::AirflowNetworkCrack& modelObject);
644
645 boost::optional<IdfObject> translateAirflowNetworkEffectiveLeakageArea(model::AirflowNetworkEffectiveLeakageArea& modelObject);
646
647 boost::optional<IdfObject> translateAirflowNetworkDetailedOpening(model::AirflowNetworkDetailedOpening& modelObject);
648
649 boost::optional<IdfObject> translateAirflowNetworkSimpleOpening(model::AirflowNetworkSimpleOpening& modelObject);
650
651 boost::optional<IdfObject> translateAirflowNetworkHorizontalOpening(model::AirflowNetworkHorizontalOpening& modelObject);
652
653 boost::optional<IdfObject> translateAirflowNetworkSpecifiedFlowRate(model::AirflowNetworkSpecifiedFlowRate& modelObject);
654
655 boost::optional<IdfObject> translateAirflowNetworkZoneExhaustFan(model::AirflowNetworkZoneExhaustFan& modelObject);
656
657 boost::optional<IdfObject> translateAirflowNetworkExternalNode(model::AirflowNetworkExternalNode& modelObject);
658
659 boost::optional<IdfObject> translateAirflowNetworkDistributionNode(model::AirflowNetworkDistributionNode& modelObject);
660
661 boost::optional<IdfObject> translateAirflowNetworkLeakageRatio(model::AirflowNetworkLeakageRatio& modelObject);
662
663 boost::optional<IdfObject> translateAirflowNetworkDuct(model::AirflowNetworkDuct& modelObject);
664
665 boost::optional<IdfObject> translateAirflowNetworkFan(model::AirflowNetworkFan& modelObject);
666
667 boost::optional<IdfObject> translateAirflowNetworkEquivalentDuct(model::AirflowNetworkEquivalentDuct& modelObject);
668
669 boost::optional<IdfObject> translateAirflowNetworkConstantPressureDrop(model::AirflowNetworkConstantPressureDrop& modelObject);
670
671 boost::optional<IdfObject> translateAirflowNetworkOutdoorAirflow(model::AirflowNetworkOutdoorAirflow& modelObject);
672
673 boost::optional<IdfObject> translateAirflowNetworkDistributionLinkage(model::AirflowNetworkDistributionLinkage& modelObject);
674
675 boost::optional<IdfObject> translateAirflowNetworkDuctViewFactors(model::AirflowNetworkDuctViewFactors& modelObject);
676
677 boost::optional<IdfObject> translateAirflowNetworkOccupantVentilationControl(model::AirflowNetworkOccupantVentilationControl& modelObject);
678
679 boost::optional<IdfObject> translateAirGap(model::AirGap& modelObject);
680
681 boost::optional<IdfObject> translateAirLoopHVAC(model::AirLoopHVAC& modelObject);
682
683 boost::optional<IdfObject> translateAirLoopHVACOutdoorAirSystem(model::AirLoopHVACOutdoorAirSystem& modelObject);
684
685 boost::optional<IdfObject> translateAirLoopHVACDedicatedOutdoorAirSystem(model::AirLoopHVACDedicatedOutdoorAirSystem& modelObject);
686
687 boost::optional<IdfObject>
688 translateAirLoopHVACUnitaryHeatCoolVAVChangeoverBypass(model::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass& modelObject);
689
690 boost::optional<IdfObject> translateAirLoopHVACUnitaryHeatPumpAirToAir(model::AirLoopHVACUnitaryHeatPumpAirToAir& modelObject);
691
692 boost::optional<IdfObject>
693 translateAirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed(model::AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed& modelObject);
694
695 boost::optional<IdfObject> translateAirLoopHVACUnitarySystem(model::AirLoopHVACUnitarySystem& modelObject);
696
697 boost::optional<IdfObject> translateAirLoopHVACReturnPlenum(model::AirLoopHVACReturnPlenum& airLoopHVACReturnPlenum);
698
699 boost::optional<IdfObject> translateAirLoopHVACSupplyPlenum(model::AirLoopHVACSupplyPlenum& airLoopHVACSupplyPlenum);
700
701 boost::optional<IdfObject> translateAirLoopHVACZoneMixer(model::AirLoopHVACZoneMixer& modelObject);
702
703 boost::optional<IdfObject> translateAirLoopHVACZoneSplitter(model::AirLoopHVACZoneSplitter& airLoopHVACZoneSplitter);
704
705 boost::optional<IdfObject> translateAirTerminalDualDuctConstantVolume(model::AirTerminalDualDuctConstantVolume& modelObject);
706
707 boost::optional<IdfObject> translateAirTerminalDualDuctVAV(model::AirTerminalDualDuctVAV& modelObject);
708
709 boost::optional<IdfObject> translateAirTerminalDualDuctVAVOutdoorAir(model::AirTerminalDualDuctVAVOutdoorAir& modelObject);
710
711 boost::optional<IdfObject>
712 translateAirTerminalSingleDuctConstantVolumeCooledBeam(model::AirTerminalSingleDuctConstantVolumeCooledBeam& modelObject);
713
714 boost::optional<IdfObject>
715 translateAirTerminalSingleDuctConstantVolumeFourPipeInduction(model::AirTerminalSingleDuctConstantVolumeFourPipeInduction& modelObject);
716
717 boost::optional<IdfObject>
718 translateAirTerminalSingleDuctConstantVolumeFourPipeBeam(model::AirTerminalSingleDuctConstantVolumeFourPipeBeam& modelObject);
719
720 boost::optional<IdfObject> translateAirTerminalSingleDuctConstantVolumeReheat(model::AirTerminalSingleDuctConstantVolumeReheat& modelObject);
721
722 boost::optional<IdfObject> translateAirTerminalSingleDuctParallelPIUReheat(model::AirTerminalSingleDuctParallelPIUReheat& modelObject);
723
724 boost::optional<IdfObject> translateAirTerminalSingleDuctSeriesPIUReheat(model::AirTerminalSingleDuctSeriesPIUReheat& modelObject);
725
726 boost::optional<IdfObject> translateAirTerminalSingleDuctConstantVolumeNoReheat(model::AirTerminalSingleDuctConstantVolumeNoReheat& modelObject);
727
728 boost::optional<IdfObject> translateAirTerminalSingleDuctVAVNoReheat(model::AirTerminalSingleDuctVAVNoReheat& modelObject);
729
730 boost::optional<IdfObject> translateAirTerminalSingleDuctVAVReheat(model::AirTerminalSingleDuctVAVReheat& modelObject);
731
732 boost::optional<IdfObject> translateAirTerminalSingleDuctInletSideMixer(model::AirTerminalSingleDuctInletSideMixer& modelObject);
733
734 boost::optional<IdfObject> translateAirTerminalSingleDuctVAVHeatAndCoolNoReheat(model::AirTerminalSingleDuctVAVHeatAndCoolNoReheat& modelObject);
735
736 boost::optional<IdfObject> translateAirTerminalSingleDuctVAVHeatAndCoolReheat(model::AirTerminalSingleDuctVAVHeatAndCoolReheat& modelObject);
737
738 boost::optional<IdfObject> translateAvailabilityManagerAssignmentList(model::AvailabilityManagerAssignmentList& modelObject);
739
740 boost::optional<IdfObject> translateAvailabilityManagerHybridVentilation(model::AvailabilityManagerHybridVentilation& modelObject);
741
742 boost::optional<IdfObject> translateAvailabilityManagerOptimumStart(model::AvailabilityManagerOptimumStart& modelObject);
743
744 boost::optional<IdfObject> translateAvailabilityManagerDifferentialThermostat(model::AvailabilityManagerDifferentialThermostat& modelObject);
745
746 boost::optional<IdfObject> translateAvailabilityManagerNightVentilation(model::AvailabilityManagerNightVentilation& modelObject);
747
748 boost::optional<IdfObject> translateAvailabilityManagerNightCycle(model::AvailabilityManagerNightCycle& modelObject);
749
750 boost::optional<IdfObject> translateAvailabilityManagerHighTemperatureTurnOn(model::AvailabilityManagerHighTemperatureTurnOn& modelObject);
751
752 boost::optional<IdfObject> translateAvailabilityManagerHighTemperatureTurnOff(model::AvailabilityManagerHighTemperatureTurnOff& modelObject);
753
754 boost::optional<IdfObject> translateAvailabilityManagerLowTemperatureTurnOn(model::AvailabilityManagerLowTemperatureTurnOn& modelObject);
755
756 boost::optional<IdfObject> translateAvailabilityManagerLowTemperatureTurnOff(model::AvailabilityManagerLowTemperatureTurnOff& modelObject);
757
758 boost::optional<IdfObject> translateAvailabilityManagerScheduled(model::AvailabilityManagerScheduled& modelObject);
759
760 boost::optional<IdfObject> translateAvailabilityManagerScheduledOn(model::AvailabilityManagerScheduledOn& modelObject);
761
762 boost::optional<IdfObject> translateAvailabilityManagerScheduledOff(model::AvailabilityManagerScheduledOff& modelObject);
763
764 boost::optional<IdfObject> translateBlind(model::Blind& modelObject);
765
766 boost::optional<IdfObject> translateBoilerHotWater(model::BoilerHotWater& modelObject);
767
768 boost::optional<IdfObject> translateBoilerSteam(model::BoilerSteam& modelObject);
769
770 boost::optional<IdfObject> translateBuilding(model::Building& modelObject);
771
772 boost::optional<IdfObject> translateCentralHeatPumpSystem(model::CentralHeatPumpSystem& modelObject);
773
774 boost::optional<IdfObject> translateCFactorUndergroundWallConstruction(model::CFactorUndergroundWallConstruction& modelObject);
775
776 boost::optional<IdfObject> translateChillerAbsorption(model::ChillerAbsorption& modelObject);
777
778 boost::optional<IdfObject> translateChillerAbsorptionIndirect(model::ChillerAbsorptionIndirect& modelObject);
779
780 boost::optional<IdfObject> translateChillerElectricASHRAE205(model::ChillerElectricASHRAE205& modelObject);
781
782 boost::optional<IdfObject> translateChillerElectricEIR(model::ChillerElectricEIR& modelObject);
783
784 boost::optional<IdfObject> translateChillerElectricReformulatedEIR(model::ChillerElectricReformulatedEIR& modelObject);
785
786 boost::optional<IdfObject> translateChillerHeaterPerformanceElectricEIR(model::ChillerHeaterPerformanceElectricEIR& modelObject);
787
788 boost::optional<IdfObject> translateCoilCoolingDXSingleSpeed(model::CoilCoolingDXSingleSpeed& modelObject);
789
790 boost::optional<IdfObject> translateCoilCoolingDXSingleSpeedWithoutUnitary(model::CoilCoolingDXSingleSpeed& modelObject);
791
792 boost::optional<IdfObject> translateCoilCoolingDXSingleSpeedThermalStorage(model::CoilCoolingDXSingleSpeedThermalStorage& modelObject);
793
794 boost::optional<IdfObject>
795 translateCoilCoolingDXSingleSpeedThermalStorageWithoutUnitary(model::CoilCoolingDXSingleSpeedThermalStorage& modelObject);
796
797 boost::optional<IdfObject> translateCoilCoolingDX(model::CoilCoolingDX& modelObject);
798
799 boost::optional<IdfObject> translateCoilCoolingDXWithoutUnitary(model::CoilCoolingDX& modelObject);
800
801 boost::optional<IdfObject> translateCoilCoolingDXCurveFitPerformance(model::CoilCoolingDXCurveFitPerformance& modelObject);
802
803 boost::optional<IdfObject> translateCoilCoolingDXCurveFitOperatingMode(model::CoilCoolingDXCurveFitOperatingMode& modelObject);
804
805 boost::optional<IdfObject> translateCoilCoolingDXCurveFitSpeed(model::CoilCoolingDXCurveFitSpeed& modelObject);
806
807 boost::optional<IdfObject> translateCoilCoolingDXMultiSpeed(model::CoilCoolingDXMultiSpeed& modelObject);
808
809 boost::optional<IdfObject> translateCoilCoolingDXTwoSpeed(model::CoilCoolingDXTwoSpeed& modelObject);
810
811 boost::optional<IdfObject> translateCoilCoolingDXTwoSpeedWithoutUnitary(model::CoilCoolingDXTwoSpeed& modelObject);
812
813 boost::optional<IdfObject>
814 translateCoilCoolingDXTwoStageWithHumidityControlMode(model::CoilCoolingDXTwoStageWithHumidityControlMode& modelObject);
815
816 boost::optional<IdfObject>
817 translateCoilCoolingDXTwoStageWithHumidityControlModeWithoutUnitary(model::CoilCoolingDXTwoStageWithHumidityControlMode& modelObject);
818
819 boost::optional<IdfObject> translateCoilCoolingDXVariableRefrigerantFlow(model::CoilCoolingDXVariableRefrigerantFlow& modelObject);
820
821 boost::optional<IdfObject> translateCoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl(
822 model::CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl& modelObject);
823
824 boost::optional<IdfObject> translateCoilCoolingDXVariableSpeed(model::CoilCoolingDXVariableSpeed& modelObject);
825
826 boost::optional<IdfObject> translateCoilCoolingDXVariableSpeedWithoutUnitary(model::CoilCoolingDXVariableSpeed& modelObject);
827
828 boost::optional<IdfObject> translateCoilCoolingWater(model::CoilCoolingWater& modelObject);
829
830 boost::optional<IdfObject> translateCoilCoolingWaterToAirHeatPumpEquationFit(model::CoilCoolingWaterToAirHeatPumpEquationFit& modelObject);
831
832 boost::optional<IdfObject>
833 translateCoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit(model::CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit& modelObject);
834
835 boost::optional<IdfObject> translateCoilHeatingDesuperheater(model::CoilHeatingDesuperheater& modelObject);
836
837 boost::optional<IdfObject> translateCoilHeatingDXMultiSpeed(model::CoilHeatingDXMultiSpeed& modelObject);
838
839 boost::optional<IdfObject> translateCoilHeatingDXSingleSpeed(model::CoilHeatingDXSingleSpeed& modelObject);
840
841 boost::optional<IdfObject> translateCoilHeatingDXSingleSpeedWithoutUnitary(model::CoilHeatingDXSingleSpeed& modelObject);
842
843 boost::optional<IdfObject> translateCoilHeatingDXVariableRefrigerantFlow(model::CoilHeatingDXVariableRefrigerantFlow& modelObject);
844
845 boost::optional<IdfObject> translateCoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl(
846 model::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl& modelObject);
847
848 boost::optional<IdfObject> translateCoilHeatingDXVariableSpeed(model::CoilHeatingDXVariableSpeed& modelObject);
849
850 boost::optional<IdfObject> translateCoilHeatingDXVariableSpeedWithoutUnitary(model::CoilHeatingDXVariableSpeed& modelObject);
851
852 boost::optional<IdfObject> translateCoilHeatingElectric(model::CoilHeatingElectric& modelObject);
853
854 boost::optional<IdfObject> translateCoilHeatingElectricMultiStage(model::CoilHeatingElectricMultiStage& modelObject);
855
856 boost::optional<IdfObject> translateCoilHeatingGas(model::CoilHeatingGas& modelObject);
857
858 boost::optional<IdfObject> translateCoilHeatingGasMultiStage(model::CoilHeatingGasMultiStage& modelObject);
859
860 boost::optional<IdfObject> translateCoilHeatingWater(model::CoilHeatingWater& modelObject);
861
862 boost::optional<IdfObject> translateCoilHeatingWaterToAirHeatPumpEquationFit(model::CoilHeatingWaterToAirHeatPumpEquationFit& modelObject);
863
864 boost::optional<IdfObject>
865 translateCoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit(model::CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit& modelObject);
866
867 boost::optional<IdfObject> translateCoilPerformanceDXCooling(model::CoilPerformanceDXCooling& modelObject);
868
869 boost::optional<IdfObject> translateCoilSystemCoolingDXHeatExchangerAssisted(model::CoilSystemCoolingDXHeatExchangerAssisted& modelObject);
870
871 boost::optional<IdfObject> translateCoilSystemCoolingWater(model::CoilSystemCoolingWater& modelObject);
872
873 boost::optional<IdfObject> translateCoilSystemCoolingWaterHeatExchangerAssisted(model::CoilSystemCoolingWaterHeatExchangerAssisted& modelObject);
874
875 boost::optional<IdfObject> translateCoilSystemIntegratedHeatPumpAirSource(model::CoilSystemIntegratedHeatPumpAirSource& modelObject);
876
877 boost::optional<IdfObject> translateCoilUserDefined(model::CoilUserDefined& modelObject);
878
879 boost::optional<IdfObject> translateCoilWaterHeatingDesuperheater(model::CoilWaterHeatingDesuperheater& modelObject);
880
881 boost::optional<IdfObject> translateCoilWaterHeatingAirToWaterHeatPump(model::CoilWaterHeatingAirToWaterHeatPump& modelObject);
882
883 boost::optional<IdfObject>
884 translateCoilWaterHeatingAirToWaterHeatPumpVariableSpeed(model::CoilWaterHeatingAirToWaterHeatPumpVariableSpeed& modelObject);
885
886 boost::optional<IdfObject> translateCoilWaterHeatingAirToWaterHeatPumpWrapped(model::CoilWaterHeatingAirToWaterHeatPumpWrapped& modelObject);
887
888 boost::optional<IdfObject> translateConstruction(model::Construction& modelObject);
889
890 boost::optional<IdfObject> translateConstructionAirBoundary(model::ConstructionAirBoundary& modelObject);
891
892 boost::optional<IdfObject> translateConstructionWithInternalSource(model::ConstructionWithInternalSource& modelObject);
893
894 boost::optional<IdfObject> translateControllerMechanicalVentilation(model::ControllerMechanicalVentilation& modelObject);
895
896 boost::optional<IdfObject> translateControllerOutdoorAir(model::ControllerOutdoorAir& modelObject);
897
898 boost::optional<IdfObject> translateControllerWaterCoil(model::ControllerWaterCoil& modelObject);
899
900 boost::optional<IdfObject> translateConvergenceLimits(model::ConvergenceLimits& modelObject);
901
902 boost::optional<IdfObject> translateCoolingTowerPerformanceCoolTools(model::CoolingTowerPerformanceCoolTools& modelObject);
903
904 boost::optional<IdfObject> translateCoolingTowerPerformanceYorkCalc(model::CoolingTowerPerformanceYorkCalc& modelObject);
905
906 boost::optional<IdfObject> translateCoolingTowerTwoSpeed(model::CoolingTowerTwoSpeed& modelObject);
907
908 boost::optional<IdfObject> translateCoolingTowerSingleSpeed(model::CoolingTowerSingleSpeed& modelObject);
909
910 boost::optional<IdfObject> translateCoolingTowerVariableSpeed(model::CoolingTowerVariableSpeed& modelObject);
911
912 boost::optional<IdfObject> translateCurrencyType(model::CurrencyType& modelObject);
913
914 boost::optional<IdfObject> translateCurveBicubic(model::CurveBicubic& modelObject);
915
916 boost::optional<IdfObject> translateCurveBiquadratic(model::CurveBiquadratic& modelObject);
917
918 boost::optional<IdfObject> translateCurveCubic(model::CurveCubic& modelObject);
919
920 boost::optional<IdfObject> translateCurveDoubleExponentialDecay(model::CurveDoubleExponentialDecay& modelObject);
921
922 boost::optional<IdfObject> translateCurveExponent(model::CurveExponent& modelObject);
923
924 boost::optional<IdfObject> translateCurveExponentialDecay(model::CurveExponentialDecay& modelObject);
925
926 boost::optional<IdfObject> translateCurveExponentialSkewNormal(model::CurveExponentialSkewNormal& modelObject);
927
928 boost::optional<IdfObject> translateCurveFanPressureRise(model::CurveFanPressureRise& modelObject);
929
930 boost::optional<IdfObject> translateCurveFunctionalPressureDrop(model::CurveFunctionalPressureDrop& modelObject);
931
932 boost::optional<IdfObject> translateCurveLinear(model::CurveLinear& modelObject);
933
934 boost::optional<IdfObject> translateCurveQuadLinear(model::CurveQuadLinear& modelObject);
935
936 boost::optional<IdfObject> translateCurveQuintLinear(model::CurveQuintLinear& modelObject);
937
938 boost::optional<IdfObject> translateCurveQuadratic(model::CurveQuadratic& modelObject);
939
940 boost::optional<IdfObject> translateCurveQuadraticLinear(model::CurveQuadraticLinear& modelObject);
941
942 boost::optional<IdfObject> translateCurveQuartic(model::CurveQuartic& modelObject);
943
944 boost::optional<IdfObject> translateCurveRectangularHyperbola1(model::CurveRectangularHyperbola1& modelObject);
945
946 boost::optional<IdfObject> translateCurveRectangularHyperbola2(model::CurveRectangularHyperbola2& modelObject);
947
948 boost::optional<IdfObject> translateCurveSigmoid(model::CurveSigmoid& modelObject);
949
950 boost::optional<IdfObject> translateCurveTriquadratic(model::CurveTriquadratic& modelObject);
951
952 boost::optional<IdfObject> translateDaylightingControl(model::DaylightingControl& modelObject);
953
954 boost::optional<IdfObject> translateDaylightingDeviceShelf(model::DaylightingDeviceShelf& modelObject);
955
956 boost::optional<IdfObject> translateDaylightingDeviceTubular(model::DaylightingDeviceTubular& modelObject);
957
958 boost::optional<IdfObject> translateDaylightingDeviceLightWell(model::DaylightingDeviceLightWell& modelObject);
959
960 boost::optional<IdfObject> translateDaylightRedirectionDevice(model::DaylightRedirectionDevice& modelObject);
961
962 boost::optional<IdfObject> translateDesignDay(model::DesignDay& modelObject);
963
964 // Construct (or fetch if already created) a DesignSpecificationOutdoorAir (DSOA) or DSOA:SpaceList
965 // * if there are no spaces with a DSOA assigned: return empty
966 // * otherwise:
967 // * otherwise:
968 // * if we translated to E+ with spaces:
969 // * If a single one: DSOA, otherwise create a DSOA:SpaceList
970 // * if we do not use E+ spaces: create DSOA
971 boost::optional<IdfObject> getOrCreateThermalZoneDSOA(const model::ThermalZone& z);
972
973 boost::optional<IdfObject> translateDistrictCooling(model::DistrictCooling& modelObject);
974
975 boost::optional<IdfObject> translateDistrictHeatingWater(model::DistrictHeatingWater& modelObject);
976
977 boost::optional<IdfObject> translateDistrictHeatingSteam(model::DistrictHeatingSteam& modelObject);
978
979 boost::optional<IdfObject> translateDuct(model::Duct& modelObject);
980
981 boost::optional<IdfObject> translateElectricEquipment(model::ElectricEquipment& modelObject);
982 boost::optional<IdfObject> translateElectricEquipmentLegacy(model::ElectricEquipment& modelObject);
983 boost::optional<IdfObject> translateElectricEquipmentInstance(model::ElectricEquipment& modelObject);
984 boost::optional<IdfObject> translateElectricEquipmentDefinition(model::ElectricEquipmentDefinition& modelObject);
985
986 boost::optional<IdfObject> translateElectricEquipmentITEAirCooled(model::ElectricEquipmentITEAirCooled& modelObject);
987 boost::optional<IdfObject> translateElectricEquipmentITEAirCooledLegacy(model::ElectricEquipmentITEAirCooled& modelObject);
988 boost::optional<IdfObject> translateElectricEquipmentITEAirCooledInstance(model::ElectricEquipmentITEAirCooled& modelObject);
989 boost::optional<IdfObject> translateElectricEquipmentITEAirCooledDefinition(model::ElectricEquipmentITEAirCooledDefinition& modelObject);
990
991 boost::optional<IdfObject> translateElectricLoadCenterDistribution(model::ElectricLoadCenterDistribution& modelObject);
992
993 boost::optional<IdfObject> translateElectricLoadCenterInverterLookUpTable(model::ElectricLoadCenterInverterLookUpTable& modelObject);
994
995 boost::optional<IdfObject> translateElectricLoadCenterInverterSimple(model::ElectricLoadCenterInverterSimple& modelObject);
996
997 boost::optional<IdfObject> translateElectricLoadCenterInverterPVWatts(model::ElectricLoadCenterInverterPVWatts& modelObject);
998
999 boost::optional<IdfObject> translateElectricLoadCenterStorageSimple(model::ElectricLoadCenterStorageSimple& modelObject);
1000
1001 boost::optional<IdfObject> translateElectricLoadCenterStorageConverter(model::ElectricLoadCenterStorageConverter& modelObject);
1002
1003 boost::optional<IdfObject> translateElectricLoadCenterStorageLiIonNMCBattery(model::ElectricLoadCenterStorageLiIonNMCBattery& modelObject);
1004
1005 boost::optional<IdfObject> translateElectricLoadCenterTransformer(model::ElectricLoadCenterTransformer& modelObject);
1006
1007 boost::optional<IdfObject> translateEnergyManagementSystemActuator(model::EnergyManagementSystemActuator& modelObject);
1008
1009 boost::optional<IdfObject>
1010 translateEnergyManagementSystemConstructionIndexVariable(model::EnergyManagementSystemConstructionIndexVariable& modelObject);
1011
1012 boost::optional<IdfObject>
1013 translateEnergyManagementSystemCurveOrTableIndexVariable(model::EnergyManagementSystemCurveOrTableIndexVariable& modelObject);
1014
1015 boost::optional<IdfObject> translateEnergyManagementSystemGlobalVariable(model::EnergyManagementSystemGlobalVariable& modelObject);
1016
1017 boost::optional<IdfObject> translateEnergyManagementSystemInternalVariable(model::EnergyManagementSystemInternalVariable& modelObject);
1018
1019 boost::optional<IdfObject> translateEnergyManagementSystemMeteredOutputVariable(model::EnergyManagementSystemMeteredOutputVariable& modelObject);
1020
1021 boost::optional<IdfObject> translateEnergyManagementSystemOutputVariable(model::EnergyManagementSystemOutputVariable& modelObject);
1022
1023 boost::optional<IdfObject> translateEnergyManagementSystemProgram(model::EnergyManagementSystemProgram& modelObject);
1024
1025 boost::optional<IdfObject> translateEnergyManagementSystemProgramCallingManager(model::EnergyManagementSystemProgramCallingManager& modelObject);
1026
1027 boost::optional<IdfObject> translateEnergyManagementSystemSensor(model::EnergyManagementSystemSensor& modelObject);
1028
1029 boost::optional<IdfObject> translateEnergyManagementSystemSubroutine(model::EnergyManagementSystemSubroutine& modelObject);
1030
1031 boost::optional<IdfObject> translateEnergyManagementSystemTrendVariable(model::EnergyManagementSystemTrendVariable& modelObject);
1032
1033 boost::optional<IdfObject> translateEvaporativeFluidCoolerSingleSpeed(model::EvaporativeFluidCoolerSingleSpeed& modelObject);
1034
1035 boost::optional<IdfObject> translateEvaporativeFluidCoolerTwoSpeed(model::EvaporativeFluidCoolerTwoSpeed& modelObject);
1036
1037 boost::optional<IdfObject> translateExteriorLights(model::ExteriorLights& modelObject);
1038
1039 boost::optional<IdfObject> translateExteriorFuelEquipment(model::ExteriorFuelEquipment& modelObject);
1040
1041 boost::optional<IdfObject> translateExteriorWaterEquipment(model::ExteriorWaterEquipment& modelObject);
1042
1043 boost::optional<IdfObject> translateExternalInterface(model::ExternalInterface& modelObject);
1044
1045 boost::optional<IdfObject> translateExternalInterfaceActuator(model::ExternalInterfaceActuator& modelObject);
1046
1047 boost::optional<IdfObject>
1048 translateExternalInterfaceFunctionalMockupUnitExportFromVariable(model::ExternalInterfaceFunctionalMockupUnitExportFromVariable& modelObject);
1049
1050 boost::optional<IdfObject>
1051 translateExternalInterfaceFunctionalMockupUnitExportToActuator(model::ExternalInterfaceFunctionalMockupUnitExportToActuator& modelObject);
1052
1053 boost::optional<IdfObject>
1054 translateExternalInterfaceFunctionalMockupUnitExportToSchedule(model::ExternalInterfaceFunctionalMockupUnitExportToSchedule& modelObject);
1055
1056 boost::optional<IdfObject>
1057 translateExternalInterfaceFunctionalMockupUnitExportToVariable(model::ExternalInterfaceFunctionalMockupUnitExportToVariable& modelObject);
1058
1059 boost::optional<IdfObject> translateExternalInterfaceFunctionalMockupUnitImport(model::ExternalInterfaceFunctionalMockupUnitImport& modelObject);
1060
1061 boost::optional<IdfObject>
1062 translateExternalInterfaceFunctionalMockupUnitImportFromVariable(model::ExternalInterfaceFunctionalMockupUnitImportFromVariable& modelObject);
1063
1064 boost::optional<IdfObject>
1065 translateExternalInterfaceFunctionalMockupUnitImportToActuator(model::ExternalInterfaceFunctionalMockupUnitImportToActuator& modelObject);
1066
1067 boost::optional<IdfObject>
1068 translateExternalInterfaceFunctionalMockupUnitImportToSchedule(model::ExternalInterfaceFunctionalMockupUnitImportToSchedule& modelObject);
1069
1070 boost::optional<IdfObject>
1071 translateExternalInterfaceFunctionalMockupUnitImportToVariable(model::ExternalInterfaceFunctionalMockupUnitImportToVariable& modelObject);
1072
1073 boost::optional<IdfObject> translateExternalInterfaceSchedule(model::ExternalInterfaceSchedule& modelObject);
1074
1075 boost::optional<IdfObject> translateExternalInterfaceVariable(model::ExternalInterfaceVariable& modelObject);
1076
1077 boost::optional<IdfObject> translateFanComponentModel(model::FanComponentModel& modelObject);
1078
1079 boost::optional<IdfObject> translateFanConstantVolume(model::FanConstantVolume& modelObject);
1080
1081 boost::optional<IdfObject> translateFanOnOff(model::FanOnOff& modelObject);
1082
1083 boost::optional<IdfObject> translateFanSystemModel(model::FanSystemModel& modelObject);
1084
1085 boost::optional<IdfObject> translateFanVariableVolume(model::FanVariableVolume& modelObject);
1086
1087 boost::optional<IdfObject> translateFanZoneExhaust(model::FanZoneExhaust& modelObject);
1088
1089 boost::optional<IdfObject> translateEvaporativeCoolerDirectResearchSpecial(model::EvaporativeCoolerDirectResearchSpecial& modelObject);
1090
1091 boost::optional<IdfObject> translateEvaporativeCoolerIndirectResearchSpecial(model::EvaporativeCoolerIndirectResearchSpecial& modelObject);
1092
1093 boost::optional<IdfObject> translateFFactorGroundFloorConstruction(model::FFactorGroundFloorConstruction& modelObject);
1094
1095 boost::optional<IdfObject> translateFluidCoolerSingleSpeed(model::FluidCoolerSingleSpeed& modelObject);
1096
1097 boost::optional<IdfObject> translateFluidCoolerTwoSpeed(model::FluidCoolerTwoSpeed& modelObject);
1098
1099 boost::optional<IdfObject> translateFoundationKiva(model::FoundationKiva& modelObject);
1100
1101 boost::optional<IdfObject> translateFoundationKivaSettings(model::FoundationKivaSettings& modelObject);
1102
1103 boost::optional<IdfObject> translateGas(model::Gas& modelObject);
1104
1105 boost::optional<IdfObject> translateGasEquipment(model::GasEquipment& modelObject);
1106 boost::optional<IdfObject> translateGasEquipmentLegacy(model::GasEquipment& modelObject);
1107 boost::optional<IdfObject> translateGasEquipmentInstance(model::GasEquipment& modelObject);
1108 boost::optional<IdfObject> translateGasEquipmentDefinition(model::GasEquipmentDefinition& modelObject);
1109
1110 boost::optional<IdfObject> translateGasMixture(model::GasMixture& modelObject);
1111
1112 boost::optional<IdfObject> translateGeneratorMicroTurbine(model::GeneratorMicroTurbine& modelObject);
1113
1114 boost::optional<IdfObject> translateGeneratorFuelCell(model::GeneratorFuelCell& modelObject);
1115 boost::optional<IdfObject> translateGeneratorFuelCellAirSupply(model::GeneratorFuelCellAirSupply& modelObject);
1116 boost::optional<IdfObject> translateGeneratorFuelCellAuxiliaryHeater(model::GeneratorFuelCellAuxiliaryHeater& modelObject);
1117 boost::optional<IdfObject> translateGeneratorFuelCellElectricalStorage(model::GeneratorFuelCellElectricalStorage& modelObject);
1118 boost::optional<IdfObject>
1119 translateGeneratorFuelCellExhaustGasToWaterHeatExchanger(model::GeneratorFuelCellExhaustGasToWaterHeatExchanger& modelObject);
1120 boost::optional<IdfObject> translateGeneratorFuelCellInverter(model::GeneratorFuelCellInverter& modelObject);
1121 boost::optional<IdfObject> translateGeneratorFuelCellPowerModule(model::GeneratorFuelCellPowerModule& modelObject);
1122 boost::optional<IdfObject> translateGeneratorFuelCellStackCooler(model::GeneratorFuelCellStackCooler& modelObject);
1123 boost::optional<IdfObject> translateGeneratorFuelCellWaterSupply(model::GeneratorFuelCellWaterSupply& modelObject);
1124 boost::optional<IdfObject> translateGeneratorFuelSupply(model::GeneratorFuelSupply& modelObject);
1125
1126 boost::optional<IdfObject> translateGeneratorPhotovoltaic(model::GeneratorPhotovoltaic& modelObject);
1127
1128 boost::optional<IdfObject> translateGeneratorPVWatts(model::GeneratorPVWatts& modelObject);
1129
1130 boost::optional<IdfObject> translateGeneratorWindTurbine(model::GeneratorWindTurbine& modelObject);
1131
1132 boost::optional<IdfObject> translateGroundHeatExchangerHorizontalTrench(model::GroundHeatExchangerHorizontalTrench& modelObject);
1133
1134 boost::optional<IdfObject> translateGroundHeatExchangerVertical(model::GroundHeatExchangerVertical& modelObject);
1135
1136 boost::optional<IdfObject> translateHeaderedPumpsConstantSpeed(model::HeaderedPumpsConstantSpeed& modelObject);
1137
1138 boost::optional<IdfObject> translateHeaderedPumpsVariableSpeed(model::HeaderedPumpsVariableSpeed& modelObject);
1139
1140 boost::optional<IdfObject> translateHeatBalanceAlgorithm(model::HeatBalanceAlgorithm& modelObject);
1141
1142 boost::optional<IdfObject> translateHeatExchangerAirToAirSensibleAndLatent(model::HeatExchangerAirToAirSensibleAndLatent& modelObject);
1143
1144 boost::optional<IdfObject> translateHeatExchangerDesiccantBalancedFlow(model::HeatExchangerDesiccantBalancedFlow& modelObject);
1145
1146 boost::optional<IdfObject>
1147 translateHeatExchangerDesiccantBalancedFlowPerformanceDataType1(model::HeatExchangerDesiccantBalancedFlowPerformanceDataType1& modelObject);
1148
1149 boost::optional<IdfObject> translateHeatExchangerFluidToFluid(model::HeatExchangerFluidToFluid& modelObject);
1150
1151 boost::optional<IdfObject> translateHeatPumpAirToWater(model::HeatPumpAirToWater& modelObject);
1152 void translateHeatPumpAirToWaterCooling(model::HeatPumpAirToWaterCooling& modelObject, IdfObject& idfObject);
1153 void translateHeatPumpAirToWaterHeating(model::HeatPumpAirToWaterHeating& modelObject, IdfObject& idfObject);
1154
1155 boost::optional<IdfObject> translateHeatPumpAirToWaterFuelFiredHeating(model::HeatPumpAirToWaterFuelFiredHeating& modelObject);
1156
1157 boost::optional<IdfObject> translateHeatPumpAirToWaterFuelFiredCooling(model::HeatPumpAirToWaterFuelFiredCooling& modelObject);
1158
1159 boost::optional<IdfObject> translateHeatPumpWaterToWaterEquationFitCooling(model::HeatPumpWaterToWaterEquationFitCooling& modelObject);
1160
1161 boost::optional<IdfObject> translateHeatPumpWaterToWaterEquationFitHeating(model::HeatPumpWaterToWaterEquationFitHeating& modelObject);
1162
1163 boost::optional<IdfObject> translateHeatPumpPlantLoopEIRCooling(model::HeatPumpPlantLoopEIRCooling& modelObject);
1164
1165 boost::optional<IdfObject> translateHeatPumpPlantLoopEIRHeating(model::HeatPumpPlantLoopEIRHeating& modelObject);
1166
1167 boost::optional<IdfObject> translateHumidifierSteamElectric(model::HumidifierSteamElectric& modelObject);
1168
1169 boost::optional<IdfObject> translateHumidifierSteamGas(model::HumidifierSteamGas& modelObject);
1170
1171 boost::optional<IdfObject> translateHotWaterEquipment(model::HotWaterEquipment& modelObject);
1172 boost::optional<IdfObject> translateHotWaterEquipmentLegacy(model::HotWaterEquipment& modelObject);
1173 boost::optional<IdfObject> translateHotWaterEquipmentInstance(model::HotWaterEquipment& modelObject);
1174 boost::optional<IdfObject> translateHotWaterEquipmentDefinition(model::HotWaterEquipmentDefinition& modelObject);
1175
1176 boost::optional<IdfObject> translateIlluminanceMap(model::IlluminanceMap& modelObject);
1177
1178 boost::optional<IdfObject> translateInfraredTransparentMaterial(model::InfraredTransparentMaterial& modelObject);
1179
1180 boost::optional<IdfObject> translateInsideSurfaceConvectionAlgorithm(model::InsideSurfaceConvectionAlgorithm& modelObject);
1181
1182 boost::optional<IdfObject> translateInteriorPartitionSurface(model::InteriorPartitionSurface& modelObject);
1183
1184 boost::optional<IdfObject> translateInteriorPartitionSurfaceGroup(model::InteriorPartitionSurfaceGroup& modelObject);
1185
1186 boost::optional<IdfObject> translateInternalMass(model::InternalMass& modelObject);
1187
1188 boost::optional<IdfObject> translateLoadProfilePlant(model::LoadProfilePlant& modelObject);
1189
1190 boost::optional<IdfObject> translateLifeCycleCost(model::LifeCycleCost& modelObject);
1191
1192 boost::optional<IdfObject> translateLifeCycleCostParameters(model::LifeCycleCostParameters& modelObject);
1193
1194 boost::optional<IdfObject> translateLights(model::Lights& modelObject);
1195 boost::optional<IdfObject> translateLightsLegacy(model::Lights& modelObject);
1196 boost::optional<IdfObject> translateLightsInstance(model::Lights& modelObject);
1197 boost::optional<IdfObject> translateLightsDefinition(model::LightsDefinition& modelObject);
1198
1199 boost::optional<IdfObject> translateLuminaire(model::Luminaire& modelObject);
1200
1201 boost::optional<IdfObject> translateMaterialPropertyGlazingSpectralData(model::MaterialPropertyGlazingSpectralData& modelObject);
1202
1203 boost::optional<IdfObject>
1204 translateMaterialPropertyMoisturePenetrationDepthSettings(model::MaterialPropertyMoisturePenetrationDepthSettings& modelObject);
1205
1206 boost::optional<IdfObject> translateMaterialPropertyPhaseChange(model::MaterialPropertyPhaseChange& modelObject);
1207
1208 boost::optional<IdfObject> translateMaterialPropertyPhaseChangeHysteresis(model::MaterialPropertyPhaseChangeHysteresis& modelObject);
1209
1210 boost::optional<IdfObject> translateMasslessOpaqueMaterial(model::MasslessOpaqueMaterial& modelObject);
1211
1212 boost::optional<IdfObject> translateMeterCustom(model::MeterCustom& modelObject);
1213
1214 boost::optional<IdfObject> translateMeterCustomDecrement(model::MeterCustomDecrement& modelObject);
1215
1216 boost::optional<IdfObject> translateNode(model::Node& modelObject);
1217
1218 boost::optional<IdfObject> translateOtherEquipment(model::OtherEquipment& modelObject);
1219 boost::optional<IdfObject> translateOtherEquipmentLegacy(model::OtherEquipment& modelObject);
1220 boost::optional<IdfObject> translateOtherEquipmentInstance(model::OtherEquipment& modelObject);
1221 boost::optional<IdfObject> translateOtherEquipmentDefinition(model::OtherEquipmentDefinition& modelObject);
1222
1223 boost::optional<IdfObject> translateOutsideSurfaceConvectionAlgorithm(model::OutsideSurfaceConvectionAlgorithm& modelObject);
1224
1225 boost::optional<IdfObject> translateOutputControlFiles(model::OutputControlFiles& modelObject);
1226
1227 boost::optional<IdfObject> translateOutputControlReportingTolerances(model::OutputControlReportingTolerances& modelObject);
1228
1229 boost::optional<IdfObject> translateOutputControlResilienceSummaries(model::OutputControlResilienceSummaries& modelObject);
1230
1231 boost::optional<IdfObject> translateOutputControlTableStyle(model::OutputControlTableStyle& modelObject);
1232
1233 boost::optional<IdfObject> translateOutputControlTimestamp(model::OutputControlTimestamp& modelObject);
1234
1235 boost::optional<IdfObject> translateOutputDebuggingData(model::OutputDebuggingData& modelObject);
1236
1237 boost::optional<IdfObject> translateOutputDiagnostics(model::OutputDiagnostics& modelObject);
1238
1239 boost::optional<IdfObject> translateOutputJSON(model::OutputJSON& modelObject);
1240
1241 boost::optional<IdfObject> translateOutputSQLite(model::OutputSQLite& modelObject);
1242
1243 boost::optional<IdfObject> translateOutputSchedules(model::OutputSchedules& modelObject);
1244
1245 boost::optional<IdfObject> translateOutputConstructions(model::OutputConstructions& modelObject);
1246
1247 boost::optional<IdfObject> translateOutputEnvironmentalImpactFactors(model::OutputEnvironmentalImpactFactors& modelObject);
1248
1249 boost::optional<IdfObject> translateEnvironmentalImpactFactors(model::EnvironmentalImpactFactors& modelObject);
1250
1251 boost::optional<IdfObject> translateFuelFactors(model::FuelFactors& modelObject);
1252
1253 boost::optional<IdfObject> translateOutputMeter(model::OutputMeter& modelObject);
1254
1255 boost::optional<IdfObject> translateOutputVariable(model::OutputVariable& modelObject);
1256
1257 boost::optional<IdfObject> translateOutputEnergyManagementSystem(model::OutputEnergyManagementSystem& modelObject);
1258
1259 boost::optional<IdfObject> translateOutputTableSummaryReports(model::OutputTableSummaryReports& modelObject);
1260
1261 boost::optional<IdfObject> translateOutputTableAnnual(model::OutputTableAnnual& modelObject);
1262
1263 boost::optional<IdfObject> translateOutputTableMonthly(model::OutputTableMonthly& modelObject);
1264
1265 boost::optional<IdfObject> translatePeople(model::People& modelObject);
1266 boost::optional<IdfObject> translatePeopleLegacy(model::People& modelObject);
1267 boost::optional<IdfObject> translatePeopleInstance(model::People& modelObject);
1268 boost::optional<IdfObject> translatePeopleDefinition(model::PeopleDefinition& modelObject);
1269
1270 boost::optional<IdfObject> translatePerformancePrecisionTradeoffs(model::PerformancePrecisionTradeoffs& modelObject);
1271
1272 boost::optional<IdfObject> translatePhotovoltaicPerformanceEquivalentOneDiode(model::PhotovoltaicPerformanceEquivalentOneDiode& modelObject);
1273
1274 boost::optional<IdfObject> translatePhotovoltaicPerformanceSimple(model::PhotovoltaicPerformanceSimple& modelObject);
1275
1276 boost::optional<IdfObject> translatePhotovoltaicPerformanceSandia(model::PhotovoltaicPerformanceSandia& modelObject);
1277
1278 boost::optional<IdfObject> translatePipeAdiabatic(model::PipeAdiabatic& modelObject);
1279
1280 boost::optional<IdfObject> translatePipeIndoor(model::PipeIndoor& modelObject);
1281
1282 boost::optional<IdfObject> translatePipeOutdoor(model::PipeOutdoor& modelObject);
1283
1284 boost::optional<IdfObject> translatePlantLoop(model::PlantLoop& modelObject);
1285
1286 boost::optional<IdfObject> translatePlantComponentTemperatureSource(model::PlantComponentTemperatureSource& modelObject);
1287
1288 boost::optional<IdfObject> translatePlantComponentUserDefined(model::PlantComponentUserDefined& modelObject);
1289
1290 boost::optional<IdfObject> translatePlantEquipmentOperationSchemes(model::PlantLoop& plantLoop);
1291
1292 boost::optional<IdfObject> translatePlantEquipmentOperationCoolingLoad(model::PlantEquipmentOperationCoolingLoad& modelObject);
1293
1294 boost::optional<IdfObject> translatePlantEquipmentOperationHeatingLoad(model::PlantEquipmentOperationHeatingLoad& modelObject);
1295
1296 boost::optional<IdfObject> translatePlantEquipmentOperationOutdoorDryBulb(model::PlantEquipmentOperationOutdoorDryBulb& modelObject);
1297
1298 boost::optional<IdfObject> translatePlantEquipmentOperationOutdoorWetBulb(model::PlantEquipmentOperationOutdoorWetBulb& modelObject);
1299
1300 boost::optional<IdfObject> translatePlantEquipmentOperationOutdoorDewpoint(model::PlantEquipmentOperationOutdoorDewpoint& modelObject);
1301
1302 boost::optional<IdfObject>
1303 translatePlantEquipmentOperationOutdoorRelativeHumidity(model::PlantEquipmentOperationOutdoorRelativeHumidity& modelObject);
1304
1305 boost::optional<IdfObject>
1306 translatePlantEquipmentOperationOutdoorDryBulbDifference(model::PlantEquipmentOperationOutdoorDryBulbDifference& modelObject);
1307
1308 boost::optional<IdfObject>
1309 translatePlantEquipmentOperationOutdoorWetBulbDifference(model::PlantEquipmentOperationOutdoorWetBulbDifference& modelObject);
1310
1311 boost::optional<IdfObject>
1312 translatePlantEquipmentOperationOutdoorDewpointDifference(model::PlantEquipmentOperationOutdoorDewpointDifference& modelObject);
1313
1314 boost::optional<IdfObject> translatePortList(model::PortList& modelObject);
1315
1316 boost::optional<IdfObject> translatePumpConstantSpeed(model::PumpConstantSpeed& modelObject);
1317
1318 boost::optional<IdfObject> translatePumpVariableSpeed(model::PumpVariableSpeed& modelObject);
1319
1320 boost::optional<IdfObject> translatePythonPluginInstance(model::PythonPluginInstance& modelObject);
1321
1322 boost::optional<IdfObject> translatePythonPluginVariable(model::PythonPluginVariable& modelObject);
1323
1324 boost::optional<IdfObject> translatePythonPluginTrendVariable(model::PythonPluginTrendVariable& modelObject);
1325
1326 boost::optional<IdfObject> translatePythonPluginOutputVariable(model::PythonPluginOutputVariable& modelObject);
1327
1328 boost::optional<IdfObject> translatePythonPluginSearchPaths(model::PythonPluginSearchPaths& modelObject);
1329
1330 boost::optional<IdfObject> translateRefractionExtinctionGlazing(model::RefractionExtinctionGlazing& modelObject);
1331
1332 boost::optional<IdfObject> translateRefrigerationAirChiller(model::RefrigerationAirChiller& modelObject);
1333
1334 boost::optional<IdfObject> translateRefrigerationCase(model::RefrigerationCase& modelObject);
1335
1336 boost::optional<IdfObject> translateRefrigerationCompressor(model::RefrigerationCompressor& modelObject);
1337
1338 boost::optional<IdfObject> translateRefrigerationCompressorRack(model::RefrigerationCompressorRack& modelObject);
1339
1340 boost::optional<IdfObject> translateRefrigerationCondenserAirCooled(model::RefrigerationCondenserAirCooled& modelObject);
1341
1342 boost::optional<IdfObject> translateRefrigerationCondenserCascade(model::RefrigerationCondenserCascade& modelObject);
1343
1344 boost::optional<IdfObject> translateRefrigerationCondenserEvaporativeCooled(model::RefrigerationCondenserEvaporativeCooled& modelObject);
1345
1346 boost::optional<IdfObject> translateRefrigerationCondenserWaterCooled(model::RefrigerationCondenserWaterCooled& modelObject);
1347
1348 boost::optional<IdfObject> translateRefrigerationGasCoolerAirCooled(model::RefrigerationGasCoolerAirCooled& modelObject);
1349
1350 boost::optional<IdfObject> translateRefrigerationSubcoolerLiquidSuction(model::RefrigerationSubcoolerLiquidSuction& modelObject);
1351
1352 boost::optional<IdfObject> translateRefrigerationSubcoolerMechanical(model::RefrigerationSubcoolerMechanical& modelObject);
1353
1354 boost::optional<IdfObject> translateRefrigerationSecondarySystem(model::RefrigerationSecondarySystem& modelObject);
1355
1356 boost::optional<IdfObject> translateRefrigerationSystem(model::RefrigerationSystem& modelObject);
1357
1358 boost::optional<IdfObject> translateRefrigerationTranscriticalSystem(model::RefrigerationTranscriticalSystem& modelObject);
1359
1360 boost::optional<IdfObject> translateRefrigerationWalkIn(model::RefrigerationWalkIn& modelObject);
1361
1362 boost::optional<IdfObject> translateRoofVegetation(model::RoofVegetation& modelObject);
1363
1364 boost::optional<IdfObject> translateRunPeriod(model::RunPeriod& modelObject);
1365
1366 boost::optional<IdfObject> translateRunPeriodControlDaylightSavingTime(model::RunPeriodControlDaylightSavingTime& modelObject);
1367
1368 boost::optional<IdfObject> translateRunPeriodControlSpecialDays(model::RunPeriodControlSpecialDays& modelObject);
1369
1370 boost::optional<IdfObject> translateScheduleCompact(model::ScheduleCompact& modelObject);
1371
1372 boost::optional<IdfObject> translateScheduleConstant(model::ScheduleConstant& modelObject); //blb
1373
1374 boost::optional<IdfObject> translateScheduleDay(model::ScheduleDay& modelObject);
1375
1376 boost::optional<IdfObject> translateScheduleFixedInterval(model::ScheduleFixedInterval& modelObject);
1377
1378 boost::optional<IdfObject> translateScheduleFile(model::ScheduleFile& modelObject);
1379
1380 boost::optional<IdfObject> translateScheduleRuleset(model::ScheduleRuleset& modelObject);
1381
1382 boost::optional<IdfObject> translateScheduleTypeLimits(model::ScheduleTypeLimits& modelObject);
1383
1384 boost::optional<IdfObject> translateScheduleVariableInterval(model::ScheduleVariableInterval& modelObject);
1385
1386 boost::optional<IdfObject> translateScheduleWeek(model::ScheduleWeek& modelObject);
1387
1388 boost::optional<IdfObject> translateScheduleYear(model::ScheduleYear& modelObject);
1389
1390 boost::optional<IdfObject> translateScreen(model::Screen& modelObject);
1391
1392 boost::optional<IdfObject> translateSetpointManagerColdest(model::SetpointManagerColdest& modelObject);
1393
1394 boost::optional<IdfObject> translateSetpointManagerFollowGroundTemperature(model::SetpointManagerFollowGroundTemperature& modelObject);
1395
1396 boost::optional<IdfObject> translateSetpointManagerFollowOutdoorAirTemperature(model::SetpointManagerFollowOutdoorAirTemperature& modelObject);
1397
1398 boost::optional<IdfObject> translateSetpointManagerFollowSystemNodeTemperature(model::SetpointManagerFollowSystemNodeTemperature& modelObject);
1399
1400 boost::optional<IdfObject> translateSetpointManagerMixedAir(model::SetpointManagerMixedAir& modelObject);
1401
1402 boost::optional<IdfObject> translateSetpointManagerMultiZoneCoolingAverage(model::SetpointManagerMultiZoneCoolingAverage& modelObject);
1403
1404 boost::optional<IdfObject> translateSetpointManagerMultiZoneHeatingAverage(model::SetpointManagerMultiZoneHeatingAverage& modelObject);
1405
1406 boost::optional<IdfObject> translateSetpointManagerMultiZoneHumidityMaximum(model::SetpointManagerMultiZoneHumidityMaximum& modelObject);
1407
1408 boost::optional<IdfObject> translateSetpointManagerMultiZoneHumidityMinimum(model::SetpointManagerMultiZoneHumidityMinimum& modelObject);
1409
1410 boost::optional<IdfObject>
1411 translateSetpointManagerMultiZoneMaximumHumidityAverage(model::SetpointManagerMultiZoneMaximumHumidityAverage& modelObject);
1412
1413 boost::optional<IdfObject>
1414 translateSetpointManagerMultiZoneMinimumHumidityAverage(model::SetpointManagerMultiZoneMinimumHumidityAverage& modelObject);
1415
1416 boost::optional<IdfObject> translateSetpointManagerOutdoorAirPretreat(model::SetpointManagerOutdoorAirPretreat& modelObject);
1417
1418 boost::optional<IdfObject> translateSetpointManagerOutdoorAirReset(model::SetpointManagerOutdoorAirReset& modelObject);
1419
1420 boost::optional<IdfObject> translateSetpointManagerScheduled(model::SetpointManagerScheduled& modelObject);
1421
1422 boost::optional<IdfObject> translateSetpointManagerScheduledDualSetpoint(model::SetpointManagerScheduledDualSetpoint& modelObject);
1423
1424 boost::optional<IdfObject> translateSetpointManagerSingleZoneCooling(model::SetpointManagerSingleZoneCooling& modelObject);
1425
1426 boost::optional<IdfObject> translateSetpointManagerSingleZoneHeating(model::SetpointManagerSingleZoneHeating& modelObject);
1427
1428 boost::optional<IdfObject> translateSetpointManagerSingleZoneHumidityMaximum(model::SetpointManagerSingleZoneHumidityMaximum& modelObject);
1429
1430 boost::optional<IdfObject> translateSetpointManagerSingleZoneHumidityMinimum(model::SetpointManagerSingleZoneHumidityMinimum& modelObject);
1431
1432 boost::optional<IdfObject> translateSetpointManagerSingleZoneOneStageCooling(model::SetpointManagerSingleZoneOneStageCooling& modelObject);
1433
1434 boost::optional<IdfObject> translateSetpointManagerSingleZoneOneStageHeating(model::SetpointManagerSingleZoneOneStageHeating& modelObject);
1435
1436 boost::optional<IdfObject> translateSetpointManagerSingleZoneReheat(model::SetpointManagerSingleZoneReheat& modelObject);
1437
1438 boost::optional<IdfObject> translateSetpointManagerWarmest(model::SetpointManagerWarmest& modelObject);
1439
1440 boost::optional<IdfObject> translateSetpointManagerWarmestTemperatureFlow(model::SetpointManagerWarmestTemperatureFlow& modelObject);
1441
1442 boost::optional<IdfObject> translateSetpointManagerSystemNodeResetHumidity(model::SetpointManagerSystemNodeResetHumidity& modelObject);
1443
1444 boost::optional<IdfObject> translateSetpointManagerSystemNodeResetTemperature(model::SetpointManagerSystemNodeResetTemperature& modelObject);
1445
1446 boost::optional<IdfObject> translateShade(model::Shade& modelObject);
1447
1448 boost::optional<IdfObject> translateShadingControl(model::ShadingControl& modelObject);
1449
1450 boost::optional<IdfObject> translateShadingSurface(model::ShadingSurface& modelObject);
1451
1452 boost::optional<IdfObject> translateShadingSurfaceGroup(model::ShadingSurfaceGroup& modelObject);
1453
1454 boost::optional<IdfObject> translateShadowCalculation(model::ShadowCalculation& modelObject);
1455
1456 boost::optional<IdfObject> translateSimpleGlazing(model::SimpleGlazing& modelObject);
1457
1458 boost::optional<IdfObject> translateSimulationControl(model::SimulationControl& modelObject);
1459
1460 boost::optional<IdfObject> translateSite(model::Site& modelObject);
1461
1462 boost::optional<IdfObject> translateSiteGroundReflectance(model::SiteGroundReflectance& modelObject);
1463
1464 boost::optional<IdfObject> translateSiteGroundTemperatureBuildingSurface(model::SiteGroundTemperatureBuildingSurface& modelObject);
1465
1466 boost::optional<IdfObject> translateSiteGroundTemperatureDeep(model::SiteGroundTemperatureDeep& modelObject);
1467
1468 boost::optional<IdfObject> translateSiteGroundTemperatureFCfactorMethod(model::SiteGroundTemperatureFCfactorMethod& modelObject);
1469
1470 boost::optional<IdfObject> translateSiteGroundTemperatureShallow(model::SiteGroundTemperatureShallow& modelObject);
1471
1472 boost::optional<IdfObject>
1473 translateSiteGroundTemperatureUndisturbedKusudaAchenbach(model::SiteGroundTemperatureUndisturbedKusudaAchenbach& modelObject);
1474
1475 boost::optional<IdfObject> translateSiteGroundTemperatureUndisturbedXing(model::SiteGroundTemperatureUndisturbedXing& modelObject);
1476
1477 boost::optional<IdfObject> translateSiteWaterMainsTemperature(model::SiteWaterMainsTemperature& modelObject);
1478
1479 boost::optional<IdfObject> translateSizingParameters(model::SizingParameters& modelObject);
1480
1481 boost::optional<IdfObject> translateSizingPlant(model::SizingPlant& modelObject);
1482
1483 boost::optional<IdfObject> translateSizingSystem(model::SizingSystem& modelObject);
1484
1485 boost::optional<IdfObject> translateSizingZone(model::SizingZone& modelObject);
1486
1487 boost::optional<IdfObject> translateSkyTemperature(model::SkyTemperature& modelObject);
1488
1489 boost::optional<IdfObject> translateSolarCollectorFlatPlatePhotovoltaicThermal(model::SolarCollectorFlatPlatePhotovoltaicThermal& modelObject);
1490
1491 boost::optional<IdfObject> translateSolarCollectorFlatPlateWater(model::SolarCollectorFlatPlateWater& modelObject);
1492
1493 boost::optional<IdfObject> translateSolarCollectorIntegralCollectorStorage(model::SolarCollectorIntegralCollectorStorage& modelObject);
1494
1495 boost::optional<IdfObject> translateSolarCollectorPerformanceFlatPlate(model::SolarCollectorPerformanceFlatPlate& modelObject);
1496
1497 boost::optional<IdfObject>
1498 translateSolarCollectorPerformanceIntegralCollectorStorage(model::SolarCollectorPerformanceIntegralCollectorStorage& modelObject);
1499
1500 boost::optional<IdfObject>
1501 translateSolarCollectorPerformancePhotovoltaicThermalBIPVT(model::SolarCollectorPerformancePhotovoltaicThermalBIPVT& modelObject);
1502
1503 boost::optional<IdfObject>
1504 translateSolarCollectorPerformancePhotovoltaicThermalSimple(model::SolarCollectorPerformancePhotovoltaicThermalSimple& modelObject);
1505
1506 boost::optional<IdfObject> translateSpace(model::Space& modelObject);
1507
1508 boost::optional<IdfObject> translateSpaceInfiltrationDesignFlowRate(model::SpaceInfiltrationDesignFlowRate& modelObject);
1509
1510 boost::optional<IdfObject> translateSpaceInfiltrationEffectiveLeakageArea(model::SpaceInfiltrationEffectiveLeakageArea& modelObject);
1511
1512 boost::optional<IdfObject> translateSpaceInfiltrationFlowCoefficient(model::SpaceInfiltrationFlowCoefficient& modelObject);
1513
1514 boost::optional<IdfObject> translateSpaceType(model::SpaceType& modelObject);
1515 std::string zoneListNameForSpaceType(const model::SpaceType& modelObject) const; // helper function
1516
1517 boost::optional<IdfObject> translateStandardGlazing(model::StandardGlazing& modelObject);
1518
1519 boost::optional<IdfObject> translateStandardOpaqueMaterial(model::StandardOpaqueMaterial& modelObject);
1520
1521 boost::optional<IdfObject> translateSteamEquipment(model::SteamEquipment& modelObject);
1522 boost::optional<IdfObject> translateSteamEquipmentLegacy(model::SteamEquipment& modelObject);
1523 boost::optional<IdfObject> translateSteamEquipmentInstance(model::SteamEquipment& modelObject);
1524 boost::optional<IdfObject> translateSteamEquipmentDefinition(model::SteamEquipmentDefinition& modelObject);
1525
1526 boost::optional<IdfObject> translateSubSurface(model::SubSurface& modelObject);
1527
1528 boost::optional<IdfObject> translateSurface(model::Surface& modelObject);
1529
1530 boost::optional<IdfObject> translateSurfaceControlMovableInsulation(model::SurfaceControlMovableInsulation& modelObject);
1531
1532 boost::optional<IdfObject> translateSurfacePropertyConvectionCoefficients(model::SurfacePropertyConvectionCoefficients& modelObject);
1533
1534 boost::optional<IdfObject>
1535 translateSurfacePropertyConvectionCoefficientsMultipleSurface(model::SurfacePropertyConvectionCoefficientsMultipleSurface& modelObject);
1536
1537 boost::optional<IdfObject> translateSurfacePropertyExposedFoundationPerimeter(model::SurfacePropertyExposedFoundationPerimeter& modelObject);
1538
1539 boost::optional<IdfObject> translateSurfacePropertyOtherSideCoefficients(model::SurfacePropertyOtherSideCoefficients& modelObject);
1540
1541 boost::optional<IdfObject> translateSurfacePropertyOtherSideConditionsModel(model::SurfacePropertyOtherSideConditionsModel& modelObject);
1542
1543 boost::optional<IdfObject> translateSurfacePropertyLocalEnvironment(model::SurfacePropertyLocalEnvironment& modelObject);
1544
1545 boost::optional<IdfObject> translateSurfacePropertySurroundingSurfaces(model::SurfacePropertySurroundingSurfaces& modelObject);
1546
1547 boost::optional<IdfObject> translateSurfacePropertyGroundSurfaces(model::SurfacePropertyGroundSurfaces& modelObject);
1548
1549 boost::optional<IdfObject> translateSurfacePropertyIncidentSolarMultiplier(model::SurfacePropertyIncidentSolarMultiplier& modelObject);
1550
1551 boost::optional<IdfObject> translateSwimmingPoolIndoor(model::SwimmingPoolIndoor& modelObject);
1552
1553 OS_DEPRECATED(3, 5, 0) boost::optional<IdfObject> translateTableMultiVariableLookup(model::TableMultiVariableLookup& modelObject);
1554
1555 boost::optional<IdfObject> translateTableLookup(model::TableLookup& modelObject);
1556
1557 boost::optional<IdfObject> translateTableIndependentVariable(model::TableIndependentVariable& modelObject);
1558
1559 boost::optional<IdfObject> translateTemperingValve(model::TemperingValve& modelObject);
1560
1561 boost::optional<IdfObject> translateThermalStorageIceDetailed(model::ThermalStorageIceDetailed& modelObject);
1562
1563 boost::optional<IdfObject> translateThermalStorageChilledWaterStratified(model::ThermalStorageChilledWaterStratified& modelObject);
1564
1565 boost::optional<IdfObject> translateThermalZone(model::ThermalZone& modelObject);
1566 void translateThermalZoneSpacesWhenCombinedSpaces(model::ThermalZone& modelObject, IdfObject& idfObject);
1567 void translateThermalZoneSpacesToEnergyPlusSpaces(model::ThermalZone& modelObject, IdfObject& idfObject);
1568 // Helper for the DesignSpecification:ZoneAirDistribution, returns empty when the DSZAD is not needed,
1569 // which is when fields on Sizing:Zone related to it are all defaulted (Implemeted in ForwardTranslateSizingZone)
1570 boost::optional<std::string> zoneDSZADName(const model::ThermalZone& zone);
1571
1572 boost::optional<IdfObject> translateThermochromicGlazing(model::ThermochromicGlazing& modelObject);
1573
1574 boost::optional<IdfObject> translateThermostatSetpointDualSetpoint(model::ThermostatSetpointDualSetpoint& tsds);
1575
1576 boost::optional<IdfObject> translateTimestep(model::Timestep& modelObject);
1577
1578 boost::optional<IdfObject> translateUnitarySystemPerformanceMultispeed(model::UnitarySystemPerformanceMultispeed& modelObject);
1579
1580 boost::optional<IdfObject> translateVersion(model::Version& modelObject);
1581
1582 boost::optional<IdfObject> translateWaterHeaterMixed(model::WaterHeaterMixed& modelObject);
1583
1584 boost::optional<IdfObject> translateWaterHeaterHeatPump(model::WaterHeaterHeatPump& modelObject);
1585
1586 boost::optional<IdfObject> translateWaterHeaterHeatPumpWrappedCondenser(model::WaterHeaterHeatPumpWrappedCondenser& modelObject);
1587
1588 boost::optional<IdfObject> translateWaterHeaterSizing(model::WaterHeaterSizing& modelObject);
1589
1590 boost::optional<IdfObject> translateWaterHeaterStratified(model::WaterHeaterStratified& modelObject);
1591
1592 boost::optional<IdfObject> translateWaterUseConnections(model::WaterUseConnections& modelObject);
1593
1594 boost::optional<IdfObject> translateWaterUseEquipment(model::WaterUseEquipment& modelObject);
1595
1596 boost::optional<IdfObject> translateWindowPropertyFrameAndDivider(model::WindowPropertyFrameAndDivider& modelObject);
1597
1598 boost::optional<IdfObject> translateZoneAirHeatBalanceAlgorithm(model::ZoneAirHeatBalanceAlgorithm& modelObject);
1599
1600 boost::optional<IdfObject> translateZoneAirContaminantBalance(model::ZoneAirContaminantBalance& modelObject);
1601
1602 boost::optional<IdfObject> translateZoneAirMassFlowConservation(model::ZoneAirMassFlowConservation& modelObject);
1603
1604 boost::optional<IdfObject> translateZoneCapacitanceMultiplierResearchSpecial(model::ZoneCapacitanceMultiplierResearchSpecial& modelObject);
1605
1606 boost::optional<IdfObject> translateZoneControlContaminantController(model::ZoneControlContaminantController& modelObject);
1607
1608 boost::optional<IdfObject> translateZoneControlHumidistat(model::ZoneControlHumidistat& modelObject);
1609
1610 boost::optional<IdfObject> translateZoneControlThermostatStagedDualSetpoint(model::ZoneControlThermostatStagedDualSetpoint& modelObject);
1611
1612 boost::optional<IdfObject> translateZoneHVACBaseboardConvectiveElectric(model::ZoneHVACBaseboardConvectiveElectric& modelObject);
1613
1614 boost::optional<IdfObject> translateZoneHVACBaseboardConvectiveWater(model::ZoneHVACBaseboardConvectiveWater& modelObject);
1615
1616 boost::optional<IdfObject> translateZoneHVACBaseboardRadiantConvectiveElectric(model::ZoneHVACBaseboardRadiantConvectiveElectric& modelObject);
1617
1618 boost::optional<IdfObject> translateZoneHVACBaseboardRadiantConvectiveWater(model::ZoneHVACBaseboardRadiantConvectiveWater& modelObject);
1619
1620 boost::optional<IdfObject> translateZoneHVACCoolingPanelRadiantConvectiveWater(model::ZoneHVACCoolingPanelRadiantConvectiveWater& modelObject);
1621
1622 boost::optional<IdfObject> translateZoneHVACDehumidifierDX(model::ZoneHVACDehumidifierDX& modelObject);
1623
1624 boost::optional<IdfObject> translateZoneHVACEnergyRecoveryVentilator(model::ZoneHVACEnergyRecoveryVentilator& modelObject);
1625
1626 boost::optional<IdfObject> translateZoneHVACEnergyRecoveryVentilatorController(model::ZoneHVACEnergyRecoveryVentilatorController& modelObject);
1627
1628 boost::optional<IdfObject> translateZoneHVACEquipmentList(model::ZoneHVACEquipmentList& modelObject);
1629
1630 boost::optional<IdfObject> translateZoneHVACEvaporativeCoolerUnit(model::ZoneHVACEvaporativeCoolerUnit& modelObject);
1631
1632 boost::optional<IdfObject> translateZoneHVACFourPipeFanCoil(model::ZoneHVACFourPipeFanCoil& modelObject);
1633
1634 boost::optional<IdfObject> translateZoneHVACHighTemperatureRadiant(model::ZoneHVACHighTemperatureRadiant& modelObject);
1635
1636 boost::optional<IdfObject> translateZoneHVACIdealLoadsAirSystem(model::ZoneHVACIdealLoadsAirSystem& modelObject);
1637
1638 boost::optional<IdfObject> translateZoneHVACLowTemperatureRadiantElectric(model::ZoneHVACLowTemperatureRadiantElectric& modelObject);
1639
1640 boost::optional<IdfObject> translateZoneHVACLowTempRadiantConstFlow(model::ZoneHVACLowTempRadiantConstFlow& modelObject);
1641
1642 boost::optional<IdfObject> translateZoneHVACLowTempRadiantVarFlow(model::ZoneHVACLowTempRadiantVarFlow& modelObject);
1643
1644 boost::optional<IdfObject> translateZoneHVACPackagedTerminalHeatPump(model::ZoneHVACPackagedTerminalHeatPump& modelObject);
1645
1646 boost::optional<IdfObject> translateZoneHVACPackagedTerminalAirConditioner(model::ZoneHVACPackagedTerminalAirConditioner& modelObject);
1647
1648 boost::optional<IdfObject> translateZoneHVACTerminalUnitVariableRefrigerantFlow(model::ZoneHVACTerminalUnitVariableRefrigerantFlow& modelObject);
1649
1650 boost::optional<IdfObject> translateZoneHVACUnitHeater(model::ZoneHVACUnitHeater& modelObject);
1651
1652 boost::optional<IdfObject> translateZoneHVACUnitVentilator(model::ZoneHVACUnitVentilator& modelObject);
1653
1654 boost::optional<IdfObject> translateZoneHVACWaterToAirHeatPump(model::ZoneHVACWaterToAirHeatPump& modelObject);
1655
1656 boost::optional<IdfObject> translateZoneMixing(model::ZoneMixing& modelObject);
1657
1658 boost::optional<IdfObject> translateZoneMRTCalculation(model::ZoneMRTCalculation& modelObject);
1659
1660 boost::optional<IdfObject> translateComfortViewFactorAngles(model::ComfortViewFactorAngles& modelObject);
1661
1662 boost::optional<IdfObject> translateZonePropertyUserViewFactorsBySurfaceName(model::ZonePropertyUserViewFactorsBySurfaceName& modelObject);
1663
1664 boost::optional<IdfObject> createAirLoopHVACSupplyPath(const model::Node& demandInletNode);
1665
1666 boost::optional<IdfObject> translateZoneVentilationDesignFlowRate(model::ZoneVentilationDesignFlowRate& modelObject);
1667
1668 boost::optional<IdfObject> translateZoneVentilationWindandStackOpenArea(model::ZoneVentilationWindandStackOpenArea& modelObject);
1669
1670 boost::optional<IdfObject> createAirLoopHVACSupplyPath(model::AirLoopHVAC& airLoopHVAC);
1671
1672 boost::optional<IdfObject> createAirLoopHVACReturnPath(model::AirLoopHVAC& airLoopHVAC);
1673
1674 // reset the state of the translator between translations
1675 void reset();
1676
1677 // helper method used by ForwardTranslatePlantLoop
1678 IdfObject populateBranch(IdfObject& branchIdfObject, std::vector<model::ModelObject>& modelObjects, model::Loop& loop, bool isSupplyBranch);
1679
1680 // translate all constructions
1681 void translateConstructions(const model::Model& model);
1682
1683 // translate all schedules and find always on and always off schedules if they exist
1684 void translateSchedules(const model::Model& model);
1685
1686 // translate all airflow network objects if an AFN simulation control exists
1687 void translateAirflowNetwork(const model::Model& model);
1688
1689 // returns the default interior partition surface construction, otherwise creates one and saves for later
1690 model::ConstructionBase interiorPartitionSurfaceConstruction(model::Model& model);
1691 boost::optional<model::ConstructionBase> m_interiorPartitionSurfaceConstruction;
1692
1693 // returns the default exterior surface construction, otherwise creates one and saves for later
1694 model::ConstructionBase exteriorSurfaceConstruction(model::Model& model);
1695 boost::optional<model::ConstructionBase> m_exteriorSurfaceConstruction;
1696
1697 // reverse a construction if needed
1698 model::ConstructionBase reverseConstruction(const model::ConstructionBase& construction);
1699 std::map<Handle, model::ConstructionBase> m_constructionHandleToReversedConstructions;
1700
1701 // resolve conflicts about constructions in matched surfaces
1702 void resolveMatchedSurfaceConstructionConflicts(model::Model& model);
1703 void resolveMatchedSubSurfaceConstructionConflicts(model::Model& model);
1704
1705 // ugly hack to fix upstream mixed air setpoint managers that have internal fans
1706 // This should be used by the various translateUnitaryFoo methods.
1707 void fixSPMsForUnitarySystem(const model::HVACComponent& unitary, const std::string& fanInletNodeName, const std::string& FanOutletNodeName);
1708
1709 void createStandardOutputRequests(const model::Model& model);
1710
1711 static std::string stripOS2(const std::string& s);
1712
1713 IdfObject createAndRegisterIdfObject(const IddObjectType& idfObjectType, const model::ModelObject& modelObject);
1714
1715 IdfObject createRegisterAndNameIdfObject(const IddObjectType& idfObjectType, const model::ModelObject& modelObject);
1716
1717 static std::vector<IddObjectType> iddObjectsToTranslate();
1718 static std::vector<IddObjectType> iddObjectsToTranslateInitializer();
1719
1720 /** Determines whether or not the HVACComponent is part of a unitary system or on an
1721 * AirLoopHVAC */
1722 static bool isHVACComponentWithinUnitary(const model::HVACComponent& hvacComponent);
1723
1724 /** Looks up in embedded_files to locate the path to IdfFile that is supplied, and returns the
1725 * IdfFile if successful. */
1726 static boost::optional<IdfFile> findIdfFile(const std::string& path);
1727
1728 /** Create a simple Schedule:Compact based on input vectors. The function will consume the vectors in
1729 * order, so the times must be in chronological order otherwise E+ will output an error. Summer and
1730 * winter design days are not required entries, only defaultDay and name are required. At the moment,
1731 * there is no ScheduleTypeLimit so there is no validation and E+ outputs a warning. It is up to the
1732 * developer to make sure all E+ rules and validation for Schedule:Compact are upheld. This converts
1733 * openstudio::Time of 00:00 to 24:00 and makes sure it is the last value.
1734 */
1735 boost::optional<IdfObject> createSimpleSchedule(
1736 const std::string& name, const std::vector<std::pair<openstudio::Time, double>>& defaultDay,
1737 const std::vector<std::pair<openstudio::Time, double>>& summerDesignDay = std::vector<std::pair<openstudio::Time, double>>(),
1738 const std::vector<std::pair<openstudio::Time, double>>& winterDesignDay = std::vector<std::pair<openstudio::Time, double>>());
1739
1740 /** Creates the FluidProperties IdfObjects and adds them to m_idfObjects based on the input
1741 * fluidType. Returns an uninitialized object if unsuccessful for any reason. If successful, returns
1742 * the FluidProperties:Name IdfObject. If the fluidType already exists in m_idfObjects, it will not
1743 * add new IdfObjects and will return the existing FluidProperties:Name IdfObject. Valid choices for
1744 * fluidType are: R11, R12, R22, R123, R134a, R404a, R407a, R410a, NH3, R507a, R744 */
1745 boost::optional<IdfObject> createFluidProperties(const std::string& fluidType);
1746
1747 /** Creates the FluidProperties IdfObjects and adds them to m_idfObjects based on the input
1748 * glycolType and glycolConcentration. Returns an uninitialized object if unsuccessful for any reason.
1749 * If successful, returns the FluidProperties:Name IdfObject with a FluidName of
1750 * glycolType + "_" + glycolConcentration ie. PropyleneGlycol_30. If the fluidType already
1751 * exists in m_idfObjects, it will not add new IdfObjects and will return the existing
1752 * FluidProperties:Name IdfObject. Valid choices for glycolType are: PropyleneGlycol, EthyleneGlycol
1753 * */
1754 boost::optional<IdfObject> createFluidProperties(const std::string& glycolType, int glycolConcentration);
1755
1756 /** Initializes m_fluidPropertiesMap with refrigerant names and path to refrigerant resource files.
1757 * Valid refrigerants are: R11, R12, R22, R123, R134a, R404a, R407a, R410a, NH3, R507a, R744 */
1758 void createFluidPropertiesMap();
1759
1760 using ModelObjectMap = std::map<const openstudio::Handle, const IdfObject>;
1761
1762 using FluidPropertiesMap = std::map<const std::string, const std::string>;
1763
1764 FluidPropertiesMap m_fluidPropertiesMap;
1765
1766 ModelObjectMap m_map;
1767
1768 using ZoneToMaybeDSOA = std::map<const openstudio::Handle, boost::optional<IdfObject>>;
1769 ZoneToMaybeDSOA m_zoneDSOAsMap;
1770
1771 std::vector<IdfObject> m_idfObjects;
1772
1773 boost::optional<IdfObject> m_anyNumberScheduleTypeLimits;
1774
1775 StringStreamLogSink m_logSink;
1776
1777 ProgressBar* m_progressBar;
1778
1779 // ForwardTranslator options
1780 ForwardTranslatorOptions m_forwardTranslatorOptions;
1781 };
1782
1783 } // namespace energyplus
1784
1785 } // namespace openstudio
1786
1787 #endif // ENERGYPLUS_FORWARDTRANSLATOR_HPP
1788