| 460 | } |
| 461 | |
| 462 | void CoilUserDefined_Impl::renameEMSSubComponents() { |
| 463 | auto newName = nameString(); |
| 464 | std::replace(newName.begin(), newName.end(), ' ', '_'); |
| 465 | newName += "_"; |
| 466 | overallModelSimulationProgramCallingManager().setName(newName + "overallModelSimulationProgramCallingManager"); |
| 467 | modelSetupandSizingProgramCallingManager().setName(newName + "modelSetupandSizingProgramCallingManager"); |
| 468 | overallSimulationProgram().setName(newName + "overallSimulationProgram"); |
| 469 | initializationSimulationProgram().setName(newName + "initializationSimulationProgram"); |
| 470 | airOutletTemperatureActuator().setName(newName + "airOutletTemperatureActuator"); |
| 471 | airOutletHumidityRatioActuator().setName(newName + "airOutletHumidityRatioActuator"); |
| 472 | airMassFlowRateActuator().setName(newName + "airMassFlowRateActuator"); |
| 473 | plantMinimumMassFlowRateActuator().setName(newName + "plantMinimumMassFlowRateActuator"); |
| 474 | plantMaximumMassFlowRateActuator().setName(newName + "plantMaximumMassFlowRateActuator"); |
| 475 | plantDesignVolumeFlowRateActuator().setName(newName + "plantDesignVolumeFlowRateActuator"); |
| 476 | plantMassFlowRateActuator().setName(newName + "plantMassFlowRateActuator"); |
| 477 | plantOutletTemperatureActuator().setName(newName + "plantOutletTemperatureActuator"); |
| 478 | } |
| 479 | |
| 480 | ComponentType CoilUserDefined_Impl::componentType() const { |
| 481 | return ComponentType::Both; // TODO: Really not sure how to determine this... |