diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..7bf9194d31 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,32 @@ +language: python +python: + - "2.7" + +cache: pip + +notifications: + email: false + +git: + depth: 10 + +services: + - docker + +env: + - TEST_ARG="make test-documentation" + + +# Install dependencies +# For sphinx, we need to install specific package versions, otherwise +# the html output may have small formatting differences which causes +# the test to fail +install: + - export PYTHONIOENCODING=UTF8 # just in case + - pip install --upgrade pip setuptools wheel + - pip install --only-binary=numpy,scipy,matplotlib numpy scipy matplotlib + - pip install git+https://github.com/lbl-srg/BuildingsPy@master + +# Execute tests +script: + - (cd AixLib/Resources/Scripts/travis && travis_wait 70 $TEST_ARG) diff --git a/AixLib/.copiedFiles.txt b/AixLib/.copiedFiles.txt index 160a1e7104..9db1d605d0 100644 --- a/AixLib/.copiedFiles.txt +++ b/AixLib/.copiedFiles.txt @@ -1,5 +1,5 @@ # Do not edit this file unless you know what you are doing. -# This file is used by the Annex60 merge script and generated by BuildingsPy. +# This file is used by the IBPSA merge script and generated by BuildingsPy. AixLib\Airflow\Multizone\BaseClasses\DoorDiscretized.mo AixLib\Airflow\Multizone\BaseClasses\ErrorControl.mo AixLib\Airflow\Multizone\BaseClasses\Examples\PowerLaw.mo @@ -180,6 +180,7 @@ AixLib\Controls\Continuous\PIDHysteresis.mo AixLib\Controls\Continuous\PIDHysteresisTimer.mo AixLib\Controls\Continuous\SignalRanker.mo AixLib\Controls\Continuous\Validation\LimPIDReset.mo +AixLib\Controls\Continuous\Validation\OffTimerNonZeroStart.mo AixLib\Controls\Continuous\Validation\package.mo AixLib\Controls\Continuous\Validation\package.order AixLib\Controls\Continuous\package.mo @@ -223,6 +224,7 @@ AixLib\Fluid\Actuators\Dampers\Examples\package.mo AixLib\Fluid\Actuators\Dampers\Examples\package.order AixLib\Fluid\Actuators\Dampers\Exponential.mo AixLib\Fluid\Actuators\Dampers\MixingBox.mo +AixLib\Fluid\Actuators\Dampers\PressureIndependent.mo AixLib\Fluid\Actuators\Dampers\VAVBoxExponential.mo AixLib\Fluid\Actuators\Dampers\package.mo AixLib\Fluid\Actuators\Dampers\package.order @@ -242,7 +244,6 @@ AixLib\Fluid\Actuators\Valves\Examples\TwoWayValveTable.mo AixLib\Fluid\Actuators\Valves\Examples\TwoWayValves.mo AixLib\Fluid\Actuators\Valves\Examples\TwoWayValvesMotor.mo AixLib\Fluid\Actuators\Valves\Examples\TwoWayValvesTable.mo -AixLib\Fluid\Actuators\Valves\Examples\ValveParameterization.mo AixLib\Fluid\Actuators\Valves\Examples\package.mo AixLib\Fluid\Actuators\Valves\Examples\package.order AixLib\Fluid\Actuators\Valves\ThreeWayEqualPercentageLinear.mo @@ -252,6 +253,10 @@ AixLib\Fluid\Actuators\Valves\TwoWayLinear.mo AixLib\Fluid\Actuators\Valves\TwoWayPressureIndependent.mo AixLib\Fluid\Actuators\Valves\TwoWayQuickOpening.mo AixLib\Fluid\Actuators\Valves\TwoWayTable.mo +AixLib\Fluid\Actuators\Valves\Validation\ThreeWayValveParameterization.mo +AixLib\Fluid\Actuators\Valves\Validation\TwoWayValveParameterization.mo +AixLib\Fluid\Actuators\Valves\Validation\package.mo +AixLib\Fluid\Actuators\Valves\Validation\package.order AixLib\Fluid\Actuators\Valves\package.mo AixLib\Fluid\Actuators\Valves\package.order AixLib\Fluid\Actuators\package.mo @@ -289,6 +294,9 @@ AixLib\Fluid\Chillers\Examples\Carnot_TEva.mo AixLib\Fluid\Chillers\Examples\Carnot_y.mo AixLib\Fluid\Chillers\Examples\package.mo AixLib\Fluid\Chillers\Examples\package.order +AixLib\Fluid\Chillers\Validation\CarnotVerifyCOP.mo +AixLib\Fluid\Chillers\Validation\CarnotVerifyEtaCarnot.mo +AixLib\Fluid\Chillers\Validation\Carnot_TEva_2ndLaw.mo AixLib\Fluid\Chillers\Validation\Carnot_TEva_HighTemperature.mo AixLib\Fluid\Chillers\Validation\Carnot_TEva_LimitedCapacity.mo AixLib\Fluid\Chillers\Validation\Carnot_TEva_etaPL.mo @@ -304,6 +312,15 @@ AixLib\Fluid\Delays\Examples\package.mo AixLib\Fluid\Delays\Examples\package.order AixLib\Fluid\Delays\package.mo AixLib\Fluid\Delays\package.order +AixLib\Fluid\Examples\FlowSystem\Basic.mo +AixLib\Fluid\Examples\FlowSystem\Simplified1.mo +AixLib\Fluid\Examples\FlowSystem\Simplified2.mo +AixLib\Fluid\Examples\FlowSystem\Simplified3.mo +AixLib\Fluid\Examples\FlowSystem\Simplified4.mo +AixLib\Fluid\Examples\FlowSystem\Simplified5.mo +AixLib\Fluid\Examples\FlowSystem\Simplified6.mo +AixLib\Fluid\Examples\FlowSystem\package.mo +AixLib\Fluid\Examples\FlowSystem\package.order AixLib\Fluid\Examples\Performance\BaseClasses\Example1.mo AixLib\Fluid\Examples\Performance\BaseClasses\package.mo AixLib\Fluid\Examples\Performance\BaseClasses\package.order @@ -316,6 +333,20 @@ AixLib\Fluid\Examples\Performance\Example5.mo AixLib\Fluid\Examples\Performance\Example6.mo AixLib\Fluid\Examples\Performance\Example7.mo AixLib\Fluid\Examples\Performance\Example8.mo +AixLib\Fluid\Examples\Performance\PressureDrop\ParallelDp.mo +AixLib\Fluid\Examples\Performance\PressureDrop\ParallelDpOptimised.mo +AixLib\Fluid\Examples\Performance\PressureDrop\ParallelFlow.mo +AixLib\Fluid\Examples\Performance\PressureDrop\ParallelFlowOptimised.mo +AixLib\Fluid\Examples\Performance\PressureDrop\SeriesDp.mo +AixLib\Fluid\Examples\Performance\PressureDrop\SeriesDpOptimised.mo +AixLib\Fluid\Examples\Performance\PressureDrop\SeriesFlow.mo +AixLib\Fluid\Examples\Performance\PressureDrop\SeriesFlowOptimised.mo +AixLib\Fluid\Examples\Performance\PressureDrop\SeriesParallelDp.mo +AixLib\Fluid\Examples\Performance\PressureDrop\SeriesParallelDpOptimised.mo +AixLib\Fluid\Examples\Performance\PressureDrop\SeriesParallelFlow.mo +AixLib\Fluid\Examples\Performance\PressureDrop\SeriesParallelFlowOptimised.mo +AixLib\Fluid\Examples\Performance\PressureDrop\package.mo +AixLib\Fluid\Examples\Performance\PressureDrop\package.order AixLib\Fluid\Examples\Performance\package.mo AixLib\Fluid\Examples\Performance\package.order AixLib\Fluid\Examples\ResistanceVolumeFlowReversal.mo @@ -352,8 +383,8 @@ AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\Fan.mo AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\FlowSplitter_u.mo AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\HVACZone.mo AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\HVACZones.mo -AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\HeaterCooler_T.mo AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\HeaterCooler_u.mo +AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\Heater_T.mo AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\Humidifier_u.mo AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\IdealSource_m_flow.mo AixLib\Fluid\FMI\ExportContainers\Examples\FMUs\MixingVolume.mo @@ -464,6 +495,7 @@ AixLib\Fluid\HeatExchangers\ActiveBeams\Validation\package.order AixLib\Fluid\HeatExchangers\ActiveBeams\package.mo AixLib\Fluid\HeatExchangers\ActiveBeams\package.order AixLib\Fluid\HeatExchangers\BaseClasses\PartialEffectiveness.mo +AixLib\Fluid\HeatExchangers\BaseClasses\PartialPrescribedOutlet.mo AixLib\Fluid\HeatExchangers\BaseClasses\package.mo AixLib\Fluid\HeatExchangers\BaseClasses\package.order AixLib\Fluid\HeatExchangers\ConstantEffectiveness.mo @@ -472,22 +504,25 @@ AixLib\Fluid\HeatExchangers\Examples\AirHeater_u.mo AixLib\Fluid\HeatExchangers\Examples\BaseClasses\Heater.mo AixLib\Fluid\HeatExchangers\Examples\BaseClasses\package.mo AixLib\Fluid\HeatExchangers\Examples\BaseClasses\package.order +AixLib\Fluid\HeatExchangers\Examples\WaterCooler_T.mo AixLib\Fluid\HeatExchangers\Examples\WaterHeater_T.mo AixLib\Fluid\HeatExchangers\Examples\WaterHeater_u.mo AixLib\Fluid\HeatExchangers\Examples\package.mo AixLib\Fluid\HeatExchangers\Examples\package.order -AixLib\Fluid\HeatExchangers\HeaterCooler_T.mo AixLib\Fluid\HeatExchangers\HeaterCooler_u.mo +AixLib\Fluid\HeatExchangers\Heater_T.mo +AixLib\Fluid\HeatExchangers\PrescribedOutlet.mo AixLib\Fluid\HeatExchangers\Radiators\Examples\RadiatorEN442_2.mo AixLib\Fluid\HeatExchangers\Radiators\Examples\package.mo AixLib\Fluid\HeatExchangers\Radiators\Examples\package.order AixLib\Fluid\HeatExchangers\Radiators\RadiatorEN442_2.mo AixLib\Fluid\HeatExchangers\Radiators\package.mo AixLib\Fluid\HeatExchangers\Radiators\package.order +AixLib\Fluid\HeatExchangers\SensibleCooler_T.mo AixLib\Fluid\HeatExchangers\Validation\ConstantEffectiveness.mo -AixLib\Fluid\HeatExchangers\Validation\HeaterCooler_T.mo -AixLib\Fluid\HeatExchangers\Validation\HeaterCooler_T_dynamic.mo AixLib\Fluid\HeatExchangers\Validation\HeaterCooler_u.mo +AixLib\Fluid\HeatExchangers\Validation\PrescribedOutlet.mo +AixLib\Fluid\HeatExchangers\Validation\PrescribedOutlet_dynamic.mo AixLib\Fluid\HeatExchangers\Validation\package.mo AixLib\Fluid\HeatExchangers\Validation\package.order AixLib\Fluid\HeatExchangers\package.mo @@ -508,11 +543,32 @@ AixLib\Fluid\HeatPumps\Validation\package.mo AixLib\Fluid\HeatPumps\Validation\package.order AixLib\Fluid\HeatPumps\package.mo AixLib\Fluid\HeatPumps\package.order +AixLib\Fluid\Humidifiers\Examples\Humidifier_u.mo +AixLib\Fluid\Humidifiers\Examples\package.mo +AixLib\Fluid\Humidifiers\Examples\package.order +AixLib\Fluid\Humidifiers\Humidifier_u.mo +AixLib\Fluid\Humidifiers\SprayAirWasher_X.mo +AixLib\Fluid\Humidifiers\SteamHumidifier_X.mo +AixLib\Fluid\Humidifiers\Validation\SprayAirWasher_X.mo +AixLib\Fluid\Humidifiers\Validation\SprayAirWasher_X_dynamic.mo +AixLib\Fluid\Humidifiers\Validation\SteamHumidifier_X.mo +AixLib\Fluid\Humidifiers\Validation\SteamHumidifier_X_dynamic.mo +AixLib\Fluid\Humidifiers\Validation\package.mo +AixLib\Fluid\Humidifiers\Validation\package.order +AixLib\Fluid\Humidifiers\package.mo +AixLib\Fluid\Humidifiers\package.order AixLib\Fluid\Interfaces\ConservationEquation.mo +AixLib\Fluid\Interfaces\Examples\BaseClasses\PrescribedOutletState.mo +AixLib\Fluid\Interfaces\Examples\BaseClasses\package.mo +AixLib\Fluid\Interfaces\Examples\BaseClasses\package.order AixLib\Fluid\Interfaces\Examples\ConservationEquation.mo +AixLib\Fluid\Interfaces\Examples\FourPortHeatMassExchanger.mo AixLib\Fluid\Interfaces\Examples\HeaterCooler_u.mo AixLib\Fluid\Interfaces\Examples\Humidifier_u.mo -AixLib\Fluid\Interfaces\Examples\PrescribedOutletState.mo +AixLib\Fluid\Interfaces\Examples\PrescribedOutlet.mo +AixLib\Fluid\Interfaces\Examples\PrescribedOutlet_TSetOnly.mo +AixLib\Fluid\Interfaces\Examples\PrescribedOutlet_Water.mo +AixLib\Fluid\Interfaces\Examples\PrescribedOutlet_X_wSetOnly.mo AixLib\Fluid\Interfaces\Examples\ReverseFlowHumidifier.mo AixLib\Fluid\Interfaces\Examples\ReverseFlowMassExchanger.mo AixLib\Fluid\Interfaces\Examples\StaticTwoPortConservationEquation.mo @@ -526,8 +582,7 @@ AixLib\Fluid\Interfaces\PartialFourPortInterface.mo AixLib\Fluid\Interfaces\PartialTwoPort.mo AixLib\Fluid\Interfaces\PartialTwoPortInterface.mo AixLib\Fluid\Interfaces\PartialTwoPortTransport.mo -AixLib\Fluid\Interfaces\PrescribedOutletState.mo -AixLib\Fluid\Interfaces\PrescribedOutletStateParameters.mo +AixLib\Fluid\Interfaces\PrescribedOutlet.mo AixLib\Fluid\Interfaces\StaticFourPortHeatMassExchanger.mo AixLib\Fluid\Interfaces\StaticTwoPortConservationEquation.mo AixLib\Fluid\Interfaces\StaticTwoPortHeatMassExchanger.mo @@ -537,10 +592,8 @@ AixLib\Fluid\Interfaces\package.mo AixLib\Fluid\Interfaces\package.order AixLib\Fluid\MassExchangers\ConstantEffectiveness.mo AixLib\Fluid\MassExchangers\Examples\ConstantEffectiveness.mo -AixLib\Fluid\MassExchangers\Examples\Humidifier_u.mo AixLib\Fluid\MassExchangers\Examples\package.mo AixLib\Fluid\MassExchangers\Examples\package.order -AixLib\Fluid\MassExchangers\Humidifier_u.mo AixLib\Fluid\MassExchangers\package.mo AixLib\Fluid\MassExchangers\package.order AixLib\Fluid\MixingVolumes\BaseClasses\PartialMixingVolume.mo @@ -645,6 +698,7 @@ AixLib\Fluid\Movers\Validation\BaseClasses\package.order AixLib\Fluid\Movers\Validation\ControlledFlowMachine.mo AixLib\Fluid\Movers\Validation\ControlledFlowMachineDynamic.mo AixLib\Fluid\Movers\Validation\FlowControlled_dp.mo +AixLib\Fluid\Movers\Validation\FlowControlled_dpSystem.mo AixLib\Fluid\Movers\Validation\FlowControlled_m_flow.mo AixLib\Fluid\Movers\Validation\PowerExact.mo AixLib\Fluid\Movers\Validation\PowerSimplified.mo @@ -673,8 +727,10 @@ AixLib\Fluid\Sensors\Conversions\package.order AixLib\Fluid\Sensors\Density.mo AixLib\Fluid\Sensors\DensityTwoPort.mo AixLib\Fluid\Sensors\EnthalpyFlowRate.mo +AixLib\Fluid\Sensors\EntropyFlowRate.mo AixLib\Fluid\Sensors\Examples\Density.mo AixLib\Fluid\Sensors\Examples\EnthalpyFlowRate.mo +AixLib\Fluid\Sensors\Examples\EntropyFlowRate.mo AixLib\Fluid\Sensors\Examples\MassFraction.mo AixLib\Fluid\Sensors\Examples\MoistAirEnthalpyFlowRate.mo AixLib\Fluid\Sensors\Examples\PPM.mo @@ -720,6 +776,7 @@ AixLib\Fluid\Sources\BaseClasses\package.mo AixLib\Fluid\Sources\BaseClasses\package.order AixLib\Fluid\Sources\Boundary_pT.mo AixLib\Fluid\Sources\Boundary_ph.mo +AixLib\Fluid\Sources\Examples\MassFlowSource_WeatherData.mo AixLib\Fluid\Sources\Examples\Outside.mo AixLib\Fluid\Sources\Examples\Outside_CpLowRise.mo AixLib\Fluid\Sources\Examples\TraceSubstancesFlowSource.mo @@ -727,6 +784,7 @@ AixLib\Fluid\Sources\Examples\package.mo AixLib\Fluid\Sources\Examples\package.order AixLib\Fluid\Sources\FixedBoundary.mo AixLib\Fluid\Sources\MassFlowSource_T.mo +AixLib\Fluid\Sources\MassFlowSource_WeatherData.mo AixLib\Fluid\Sources\MassFlowSource_h.mo AixLib\Fluid\Sources\Outside.mo AixLib\Fluid\Sources\Outside_CpLowRise.mo @@ -811,7 +869,6 @@ AixLib\Resources\Images\Controls\Continuous\Examples\PIDHysteresisTimerError.png AixLib\Resources\Images\Controls\Continuous\Examples\PIDHysteresisTimerOutput.png AixLib\Resources\Images\Controls\Continuous\Examples\SignalRankerU.png AixLib\Resources\Images\Controls\Continuous\Examples\SignalRankerY.png -AixLib\Resources\Images\Controls\Discrete\Examples\BooleanDelay.png AixLib\Resources\Images\Controls\SetPoints\Examples\HotWaterTemperatureReset.png AixLib\Resources\Images\Controls\SetPoints\Examples\OccupancySchedule.png AixLib\Resources\Images\Controls\SetPoints\Table.png @@ -845,6 +902,8 @@ AixLib\Resources\Images\Fluid\Sensors\onePortHex.png AixLib\Resources\Images\Fluid\Sensors\onePortHex.tiff AixLib\Resources\Images\Fluid\Sensors\twoPortHex.png AixLib\Resources\Images\Fluid\Sensors\twoPortHex.tiff +AixLib\Resources\Images\IBPSA-logo-text.png +AixLib\Resources\Images\IBPSA-logo.png AixLib\Resources\Images\Media\Water\plotCp.pdf AixLib\Resources\Images\Media\Water\plotCp.png AixLib\Resources\Images\Media\Water\plotCp.py @@ -875,20 +934,34 @@ AixLib\Resources\Images\Utilities\Math\Functions\Examples\cubicHermite.png AixLib\Resources\Images\Utilities\Math\Functions\SmoothExponentialXPower.png AixLib\Resources\Images\Utilities\Math\int.pdf AixLib\Resources\Images\Utilities\Math\int.png -AixLib\Resources\Images\iea-ebc-logo-text.png -AixLib\Resources\Images\iea-ebc-logo.pdf -AixLib\Resources\Images\iea-ebc-logo.png AixLib\Resources\ReferenceResults\Dymola\AixLib_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Controls_Continuous_Examples_LimPIDWithReset.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Controls_Continuous_Validation_LimPIDReset.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Controls_Continuous_Validation_OffTimerNonZeroStart.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Chillers_Examples_Carnot_TEva.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Chillers_Examples_Carnot_y.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Chillers_Validation_CarnotVerifyCOP.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Chillers_Validation_Carnot_TEva_etaPL.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Chillers_Validation_Carnot_y_etaPL.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_ParallelDp.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_ParallelFlow.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_SeriesDp.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_SeriesFlow.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_Conversion_Validation_AirToOutlet.txt @@ -901,8 +974,8 @@ AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examp AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_FlowSplitter_u.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_HVACZone.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_HVACZones.txt -AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_HeaterCooler_T.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_HeaterCooler_u.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_Heater_T.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_Humidifier_u.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_IdealSource_m_flow.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_MixingVolume.txt @@ -947,8 +1020,11 @@ AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatExchangers_ActiveBeams AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatExchangers_Examples_AirHeater_T.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatExchangers_Examples_AirHeater_u.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatExchangers_Examples_WaterCooler_T.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatExchangers_Examples_WaterHeater_T.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatExchangers_Examples_WaterHeater_u.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatExchangers_Validation_PrescribedOutlet.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatPumps_Examples_Carnot_TCon.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatPumps_Examples_Carnot_y.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.txt @@ -957,6 +1033,15 @@ AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatPumps_Validation_Carno AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatPumps_Validation_Carnot_y_etaCar.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_HeatPumps_Validation_Carnot_y_etaPL.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Humidifiers_Examples_Humidifier_u.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Humidifiers_Validation_SprayAirWasher_X.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Humidifiers_Validation_SteamHumidifier_X.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Interfaces_Examples_PrescribedOutlet.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Interfaces_Examples_PrescribedOutlet_Water.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_MixingVolumes_Validation_MixingVolume.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.txt @@ -979,10 +1064,12 @@ AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Movers_BaseClasses_Validat AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Movers_Examples_MoverContinuous.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Movers_Examples_MoverParameter.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Movers_Examples_MoverStages.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Movers_Validation_FlowControlled_dpSystem.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Movers_Validation_PowerExact.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Movers_Validation_PowerSimplified.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Movers_Validation_PumpCurveDerivatives.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Sensors_Examples_PPM.txt +AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Sources_Examples_MassFlowSource_WeatherData.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Sources_Examples_Outside.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Fluid_Sources_Examples_Outside_CpLowRise.txt AixLib\Resources\ReferenceResults\Dymola\AixLib_Media_Specialized_Water_Examples_WaterProperties_pT.txt @@ -1054,6 +1141,7 @@ AixLib\Resources\Scripts\Dymola\Controls\Continuous\Examples\PIDHysteresis.mos AixLib\Resources\Scripts\Dymola\Controls\Continuous\Examples\PIDHysteresisTimer.mos AixLib\Resources\Scripts\Dymola\Controls\Continuous\Examples\SignalRanker.mos AixLib\Resources\Scripts\Dymola\Controls\Continuous\Validation\LimPIDReset.mos +AixLib\Resources\Scripts\Dymola\Controls\Continuous\Validation\OffTimerNonZeroStart.mos AixLib\Resources\Scripts\Dymola\Controls\Discrete\Examples\BooleanDelay.mos AixLib\Resources\Scripts\Dymola\Controls\SetPoints\Examples\HotWaterTemperatureReset.mos AixLib\Resources\Scripts\Dymola\Controls\SetPoints\Examples\OccupancySchedule.mos @@ -1069,7 +1157,8 @@ AixLib\Resources\Scripts\Dymola\Fluid\Actuators\Valves\Examples\TwoWayValveTable AixLib\Resources\Scripts\Dymola\Fluid\Actuators\Valves\Examples\TwoWayValves.mos AixLib\Resources\Scripts\Dymola\Fluid\Actuators\Valves\Examples\TwoWayValvesMotor.mos AixLib\Resources\Scripts\Dymola\Fluid\Actuators\Valves\Examples\TwoWayValvesTable.mos -AixLib\Resources\Scripts\Dymola\Fluid\Actuators\Valves\Examples\ValveParameterization.mos +AixLib\Resources\Scripts\Dymola\Fluid\Actuators\Valves\Validation\ThreeWayValveParameterization.mos +AixLib\Resources\Scripts\Dymola\Fluid\Actuators\Valves\Validation\TwoWayValveParameterization.mos AixLib\Resources\Scripts\Dymola\Fluid\BaseClasses\FlowModels\Validation\BasicFlowFunction_dp_DerivativeCheck.mos AixLib\Resources\Scripts\Dymola\Fluid\BaseClasses\FlowModels\Validation\BasicFlowFunction_dp_DerivativeCheck2.mos AixLib\Resources\Scripts\Dymola\Fluid\BaseClasses\FlowModels\Validation\BasicFlowFunction_m_flow_DerivativeCheck.mos @@ -1079,12 +1168,22 @@ AixLib\Resources\Scripts\Dymola\Fluid\BaseClasses\FlowModels\Validation\Invertin AixLib\Resources\Scripts\Dymola\Fluid\BaseClasses\FlowModels\Validation\InvertingBasicFlowFunction_m_flow.mos AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Examples\Carnot_TEva.mos AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Examples\Carnot_y.mos +AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Validation\CarnotVerifyCOP.mos +AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Validation\CarnotVerifyEtaCarnot.mos +AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Validation\Carnot_TEva_2ndLaw.mos AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Validation\Carnot_TEva_HighTemperature.mos AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Validation\Carnot_TEva_LimitedCapacity.mos AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Validation\Carnot_TEva_etaPL.mos AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Validation\Carnot_TEva_reverseFlow.mos AixLib\Resources\Scripts\Dymola\Fluid\Chillers\Validation\Carnot_y_etaPL.mos AixLib\Resources\Scripts\Dymola\Fluid\Delays\Examples\Delay.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\FlowSystem\Basic.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\FlowSystem\Simplified1.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\FlowSystem\Simplified2.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\FlowSystem\Simplified3.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\FlowSystem\Simplified4.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\FlowSystem\Simplified5.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\FlowSystem\Simplified6.mos AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\Example1v1.mos AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\Example1v2.mos AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\Example2.mos @@ -1094,6 +1193,18 @@ AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\Example5.mos AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\Example6.mos AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\Example7.mos AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\Example8.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\ParallelDp.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\ParallelDpOptimised.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\ParallelFlow.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\ParallelFlowOptimised.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\SeriesDp.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\SeriesDpOptimised.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\SeriesFlow.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\SeriesFlowOptimised.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\SeriesParallelDp.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\SeriesParallelDpOptimised.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\SeriesParallelFlow.mos +AixLib\Resources\Scripts\Dymola\Fluid\Examples\Performance\PressureDrop\SeriesParallelFlowOptimised.mos AixLib\Resources\Scripts\Dymola\Fluid\Examples\ResistanceVolumeFlowReversal.mos AixLib\Resources\Scripts\Dymola\Fluid\Examples\SimpleHouse.mos AixLib\Resources\Scripts\Dymola\Fluid\FMI\Adaptors\Examples\ThermalZoneHVACNoExhaust.mos @@ -1108,8 +1219,8 @@ AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\Fan.mos AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\FlowSplitter_u.mos AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\HVACZone.mos AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\HVACZones.mos -AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\HeaterCooler_T.mos AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\HeaterCooler_u.mos +AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\Heater_T.mos AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\Humidifier_u.mos AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\IdealSource_m_flow.mos AixLib\Resources\Scripts\Dymola\Fluid\FMI\ExportContainers\Examples\FMUs\MixingVolume.mos @@ -1154,13 +1265,14 @@ AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\ActiveBeams\Validation\Numb AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\ActiveBeams\Validation\NumberOfBeamsDynamics.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Examples\AirHeater_T.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Examples\AirHeater_u.mos +AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Examples\WaterCooler_T.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Examples\WaterHeater_T.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Examples\WaterHeater_u.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Radiators\Examples\RadiatorEN442_2.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Validation\ConstantEffectiveness.mos -AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Validation\HeaterCooler_T.mos -AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Validation\HeaterCooler_T_dynamic.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Validation\HeaterCooler_u.mos +AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Validation\PrescribedOutlet.mos +AixLib\Resources\Scripts\Dymola\Fluid\HeatExchangers\Validation\PrescribedOutlet_dynamic.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatPumps\Examples\Carnot_TCon.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatPumps\Examples\Carnot_y.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatPumps\Validation\Carnot_TCon_LimitedCapacity.mos @@ -1169,15 +1281,23 @@ AixLib\Resources\Scripts\Dymola\Fluid\HeatPumps\Validation\Carnot_TCon_etaPL.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatPumps\Validation\Carnot_TCon_reverseFlow.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatPumps\Validation\Carnot_y_etaCar.mos AixLib\Resources\Scripts\Dymola\Fluid\HeatPumps\Validation\Carnot_y_etaPL.mos +AixLib\Resources\Scripts\Dymola\Fluid\Humidifiers\Examples\Humidifier_u.mos +AixLib\Resources\Scripts\Dymola\Fluid\Humidifiers\Validation\SprayAirWasher_X.mos +AixLib\Resources\Scripts\Dymola\Fluid\Humidifiers\Validation\SprayAirWasher_X_dynamic.mos +AixLib\Resources\Scripts\Dymola\Fluid\Humidifiers\Validation\SteamHumidifier_X.mos +AixLib\Resources\Scripts\Dymola\Fluid\Humidifiers\Validation\SteamHumidifier_X_dynamic.mos AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\ConservationEquation.mos +AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\FourPortHeatMassExchanger.mos AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\HeaterCooler_u.mos AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\Humidifier_u.mos -AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\PrescribedOutletState.mos +AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\PrescribedOutlet.mos +AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\PrescribedOutlet_TSetOnly.mos +AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\PrescribedOutlet_Water.mos +AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\PrescribedOutlet_X_wSetOnly.mos AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\ReverseFlowHumidifier.mos AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\ReverseFlowMassExchanger.mos AixLib\Resources\Scripts\Dymola\Fluid\Interfaces\Examples\StaticTwoPortConservationEquation.mos AixLib\Resources\Scripts\Dymola\Fluid\MassExchangers\Examples\ConstantEffectiveness.mos -AixLib\Resources\Scripts\Dymola\Fluid\MassExchangers\Examples\Humidifier_u.mos AixLib\Resources\Scripts\Dymola\Fluid\MixingVolumes\Examples\MixingVolumeHeatConduction.mos AixLib\Resources\Scripts\Dymola\Fluid\MixingVolumes\Examples\MixingVolumeMoistAir.mos AixLib\Resources\Scripts\Dymola\Fluid\MixingVolumes\Examples\MixingVolumePrescribedHeatFlowRate.mos @@ -1211,6 +1331,7 @@ AixLib\Resources\Scripts\Dymola\Fluid\Movers\Examples\SpeedControlled_y_pumpCurv AixLib\Resources\Scripts\Dymola\Fluid\Movers\Validation\ControlledFlowMachine.mos AixLib\Resources\Scripts\Dymola\Fluid\Movers\Validation\ControlledFlowMachineDynamic.mos AixLib\Resources\Scripts\Dymola\Fluid\Movers\Validation\FlowControlled_dp.mos +AixLib\Resources\Scripts\Dymola\Fluid\Movers\Validation\FlowControlled_dpSystem.mos AixLib\Resources\Scripts\Dymola\Fluid\Movers\Validation\FlowControlled_m_flow.mos AixLib\Resources\Scripts\Dymola\Fluid\Movers\Validation\PowerExact.mos AixLib\Resources\Scripts\Dymola\Fluid\Movers\Validation\PowerSimplified.mos @@ -1224,6 +1345,7 @@ AixLib\Resources\Scripts\Dymola\Fluid\Movers\Validation\SpeedControlled_y_linear AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Conversions\Examples\To_VolumeFraction.mos AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\Density.mos AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\EnthalpyFlowRate.mos +AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\EntropyFlowRate.mos AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\MassFraction.mos AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\MoistAirEnthalpyFlowRate.mos AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\PPM.mos @@ -1236,6 +1358,7 @@ AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\TemperatureWetBulb.mos AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\TraceSubstances.mos AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\Velocity.mos AixLib\Resources\Scripts\Dymola\Fluid\Sensors\Examples\VolumeFlowRate.mos +AixLib\Resources\Scripts\Dymola\Fluid\Sources\Examples\MassFlowSource_WeatherData.mos AixLib\Resources\Scripts\Dymola\Fluid\Sources\Examples\Outside.mos AixLib\Resources\Scripts\Dymola\Fluid\Sources\Examples\Outside_CpLowRise.mos AixLib\Resources\Scripts\Dymola\Fluid\Sources\Examples\TraceSubstancesFlowSource.mos @@ -1272,6 +1395,7 @@ AixLib\Resources\Scripts\Dymola\ThermalZones\ReducedOrder\Validation\VDI6007\Tes AixLib\Resources\Scripts\Dymola\ThermalZones\ReducedOrder\Validation\VDI6007\TestCase7.mos AixLib\Resources\Scripts\Dymola\ThermalZones\ReducedOrder\Validation\VDI6007\TestCase8.mos AixLib\Resources\Scripts\Dymola\ThermalZones\ReducedOrder\Validation\VDI6007\TestCase9.mos +AixLib\Resources\Scripts\Dymola\Utilities\Diagnostics\Validation\CheckEquality.mos AixLib\Resources\Scripts\Dymola\Utilities\Math\Examples\Average.mos AixLib\Resources\Scripts\Dymola\Utilities\Math\Examples\Bicubic.mos AixLib\Resources\Scripts\Dymola\Utilities\Math\Examples\Biquadratic.mos @@ -1297,6 +1421,7 @@ AixLib\Resources\Scripts\Dymola\Utilities\Math\Functions\Examples\InverseXRegula AixLib\Resources\Scripts\Dymola\Utilities\Math\Functions\Examples\IsMonotonic.mos AixLib\Resources\Scripts\Dymola\Utilities\Math\Functions\Examples\Polynomial.mos AixLib\Resources\Scripts\Dymola\Utilities\Math\Functions\Examples\PowerLinearized.mos +AixLib\Resources\Scripts\Dymola\Utilities\Math\Functions\Examples\QuinticHermite.mos AixLib\Resources\Scripts\Dymola\Utilities\Math\Functions\Examples\RegNonZeroPower.mos AixLib\Resources\Scripts\Dymola\Utilities\Math\Functions\Examples\RegNonZeroPowerDerivativeCheck.mos AixLib\Resources\Scripts\Dymola\Utilities\Math\Functions\Examples\RegNonZeroPowerDerivative_2_Check.mos @@ -1333,6 +1458,8 @@ AixLib\Resources\Scripts\Dymola\Utilities\Time\Examples\ModelTime.mos AixLib\Resources\Scripts\Dymola\Utilities\Time\Validation\CalendarTimeMonths.mos AixLib\Resources\Scripts\Dymola\Utilities\Time\Validation\CalendarTimeMonthsMinus.mos AixLib\Resources\Scripts\Dymola\Utilities\Time\Validation\CalendarTimeMonthsPlus.mos +AixLib\Resources\Scripts\JModelica\buildingspy_to_csv.py +AixLib\Resources\Scripts\travis\usr\local\bin\dymola AixLib\Resources\bin\ConvertWeatherData.jar AixLib\Resources\src\convertEPW\Makefile AixLib\Resources\src\convertEPW\doc\ConvertWeatherData.html @@ -1357,6 +1484,7 @@ AixLib\Resources\weatherdata\USA_CA_San.Francisco.Intl.AP.724940_TMY3.epw AixLib\Resources\weatherdata\USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos AixLib\Resources\weatherdata\USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw AixLib\Resources\weatherdata\USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos +AixLib\Resources\www\navigation.png AixLib\ThermalZones\ReducedOrder\EquivalentAirTemperature\BaseClasses\PartialVDI6007.mo AixLib\ThermalZones\ReducedOrder\EquivalentAirTemperature\BaseClasses\package.mo AixLib\ThermalZones\ReducedOrder\EquivalentAirTemperature\BaseClasses\package.order @@ -1388,7 +1516,7 @@ AixLib\ThermalZones\ReducedOrder\SolarGain\BaseClasses\package.order AixLib\ThermalZones\ReducedOrder\SolarGain\CorrectionGDoublePane.mo AixLib\ThermalZones\ReducedOrder\SolarGain\package.mo AixLib\ThermalZones\ReducedOrder\SolarGain\package.order -AixLib\ThermalZones\ReducedOrder\Validation\VDI6007\BaseClasses\AssertEqualityThreePeriods.mo +AixLib\ThermalZones\ReducedOrder\Validation\VDI6007\BaseClasses\VerifyDifferenceThreePeriods.mo AixLib\ThermalZones\ReducedOrder\Validation\VDI6007\BaseClasses\package.mo AixLib\ThermalZones\ReducedOrder\Validation\VDI6007\BaseClasses\package.order AixLib\ThermalZones\ReducedOrder\Validation\VDI6007\TestCase1.mo @@ -1422,6 +1550,10 @@ AixLib\Utilities\Diagnostics\AssertInequality.mo AixLib\Utilities\Diagnostics\BaseClasses\PartialInputCheck.mo AixLib\Utilities\Diagnostics\BaseClasses\package.mo AixLib\Utilities\Diagnostics\BaseClasses\package.order +AixLib\Utilities\Diagnostics\CheckEquality.mo +AixLib\Utilities\Diagnostics\Validation\CheckEquality.mo +AixLib\Utilities\Diagnostics\Validation\package.mo +AixLib\Utilities\Diagnostics\Validation\package.order AixLib\Utilities\Diagnostics\package.mo AixLib\Utilities\Diagnostics\package.order AixLib\Utilities\Math\Average.mo @@ -1464,6 +1596,7 @@ AixLib\Utilities\Math\Functions\Examples\InverseXRegularized.mo AixLib\Utilities\Math\Functions\Examples\IsMonotonic.mo AixLib\Utilities\Math\Functions\Examples\Polynomial.mo AixLib\Utilities\Math\Functions\Examples\PowerLinearized.mo +AixLib\Utilities\Math\Functions\Examples\QuinticHermite.mo AixLib\Utilities\Math\Functions\Examples\RegNonZeroPower.mo AixLib\Utilities\Math\Functions\Examples\RegNonZeroPowerDerivativeCheck.mo AixLib\Utilities\Math\Functions\Examples\RegNonZeroPowerDerivative_2_Check.mo @@ -1487,6 +1620,7 @@ AixLib\Utilities\Math\Functions\package.order AixLib\Utilities\Math\Functions\polynomial.mo AixLib\Utilities\Math\Functions\powerLinearized.mo AixLib\Utilities\Math\Functions\quadraticLinear.mo +AixLib\Utilities\Math\Functions\quinticHermite.mo AixLib\Utilities\Math\Functions\regNonZeroPower.mo AixLib\Utilities\Math\Functions\regStep.mo AixLib\Utilities\Math\Functions\smoothExponential.mo diff --git a/AixLib/Airflow/AirHandlingUnit/AHU.mo b/AixLib/Airflow/AirHandlingUnit/AHU.mo index 51641685a5..9014949a45 100644 --- a/AixLib/Airflow/AirHandlingUnit/AHU.mo +++ b/AixLib/Airflow/AirHandlingUnit/AHU.mo @@ -87,7 +87,7 @@ model AHU // Sampler (time-continous to time-discrete variables) - Modelica_Synchronous.RealSignals.Sampler.SampleVectorizedAndClocked sample(n=8) + Modelica_Synchronous.RealSignals.Sampler.SampleVectorizedAndClocked sample(n=9) annotation (Placement(transformation( extent={{-10,-10},{10,10}}, rotation=-90, @@ -747,6 +747,7 @@ equation X_supMax = sample.y[6]; X_eta = sample.y[7]; V_dot_sup = sample.y[8]; + V_dot_eta = sample.y[9]; // absolute humidity for state of saturated outdoor air X_odaSat = molarMassRatio*(611.2*exp(17.62*(T_oda - T_0)/(243.12 + T_oda - @@ -847,9 +848,6 @@ equation Modelica.Media.Air.MoistAir.saturationPressure(T_extractAir))/(p_0 - phi_extractAir*Modelica.Media.Air.MoistAir.saturationPressure(T_extractAir)); - // equation for outgoing volume flow - V_dot_sup = V_dot_eta "no leckage between supply and extract air"; - // calculation of T_5 and T_6 regarding the electrical power consumption P_el_sup = V_dot_sup*dp_sup/eta_sup "Calculation of electrical power consumption"; @@ -872,8 +870,17 @@ equation stateToOnlyHeatingHRS_false or stateToOnlyCoolingHRS_true or stateToOnlyCoolingHRS_false then true else false; - Vflow_out = hold(V_dot_eta); - Pel = if Vflow_out > 0 then hold(P_el_eta) + hold(P_el_sup) else 0; + Vflow_out = hold(V_dot_sup); + if Vflow_out > 0 and hold(V_dot_eta) <= 0 then + Pel = hold(P_el_sup); + elseif Vflow_out <= 0 and hold(V_dot_eta) > 0 then + Pel = hold(P_el_eta); + elseif Vflow_out > 0 and hold(V_dot_eta) > 0 then + Pel = hold(P_el_eta) + hold(P_el_sup); + else + Pel = 0; + end if; + QflowH = if hold(Q_dot_H) > 0 then hold(Q_dot_H) else 0; QflowC = if hold(Q_dot_C) > 0 then hold(Q_dot_C) else 0; @@ -1270,23 +1277,25 @@ equation //stateToHuCHRS_false==false, connect(T_outdoorAir, sample.u[1]) annotation (Line(points={{-100,56},{-100, - 56},{-67.75,56},{-67.75,26}}, + 56},{-67.7778,56},{-67.7778,26}}, color={0,0,127})); connect(X_outdoorAir, sample.u[2]) annotation (Line(points={{-100,36},{-100, - 36},{-67.25,36},{-67.25,26}}, + 36},{-67.3333,36},{-67.3333,26}}, color={0,0,127})); - connect(T_supplyAir, sample.u[3]) annotation (Line(points={{100,42},{100,42}, - {-66.75,42},{-66.75,26}}, + connect(T_supplyAir, sample.u[3]) annotation (Line(points={{100,36},{100,42}, + {-66.8889,42},{-66.8889,26}}, color={0,0,127})); - connect(T_extractAir, sample.u[4]) annotation (Line(points={{100,90},{-60,90}, - {-60,60},{-66.25,60},{-66.25,26}}, + connect(T_extractAir, sample.u[4]) annotation (Line(points={{100,78},{-60,78}, + {-60,60},{-66.4444,60},{-66.4444,26}}, color={0,0,127})); - connect(Vflow_in, sample.u[8]) annotation (Line(points={{-100,82},{-64.25,82}, - {-64.25,26}},color={0,0,127})); - connect(hold_phi_sup.y, phi_supply) annotation (Line(points={{79,9},{99,9},{ - 99,9}}, color={0,0,127})); + connect(Vflow_in, sample.u[8]) annotation (Line(points={{-100,82},{-64.6667, + 82},{-64.6667,26}}, + color={0,0,127})); + connect(Vflow_in_extractAir_internal, sample.u[9]); + connect(hold_phi_sup.y, phi_supply) annotation (Line(points={{79,9},{99,9},{99, + 5}}, color={0,0,127})); connect(TsupAirOut.y, T_supplyAirOut) annotation (Line(points={{79,57},{99,57}, - {99,57}}, color={0,0,127})); + {99,49}}, color={0,0,127})); public block StateExtra @@ -1344,24 +1353,24 @@ equation graphics={ Bitmap( extent={{36,-42},{100,4}}, fileName= - "modelica://AixLib/Images/AHU/HumidifierCooling.jpg"), + "modelica://AixLib/Resources/Images/Airflow/AirHandlingUnit/HumidifierCooling.jpg"), Bitmap( extent={{-100,-90},{-36,-44}}, fileName= - "modelica://AixLib/Images/AHU/Dehumidifier.jpg"), + "modelica://AixLib/Resources/Images/Airflow/AirHandlingUnit/Dehumidifier.jpg"), Bitmap( extent={{-32,-42},{32,4}}, fileName= - "modelica://AixLib/Images/AHU/HumidifierHeating.jpg"), + "modelica://AixLib/Resources/Images/Airflow/AirHandlingUnit/HumidifierHeating.jpg"), Bitmap( extent={{-32,-90},{32,-44}}, fileName= - "modelica://AixLib/Images/AHU/Heating.jpg"), + "modelica://AixLib/Resources/Images/Airflow/AirHandlingUnit/Heating.jpg"), Bitmap( extent={{36,-90},{100,-44}}, fileName= - "modelica://AixLib/Images/AHU/Cooling.jpg")}), + "modelica://AixLib/Resources/Images/Airflow/AirHandlingUnit/Cooling.jpg")}), experiment(StopTime=13398, Interval=5), Icon(coordinateSystem(extent={{-100,-40},{100,40}}, preserveAspectRatio=false), graphics={Bitmap( extent={{-100,-28},{100,28}}, fileName= - "modelica://AixLib/Resources/Images/AHU/AHUaccToDINV18599-3.jpg"), + "modelica://AixLib/Resources/Images/Airflow/AirHandlingUnit/AHUaccToDINV18599-3.jpg"), Rectangle( extent={{68,24},{98,-18}}, fillColor={255,255,255}, @@ -1374,9 +1383,6 @@ equation
It is based on incoming and outgoing enthalpy flows of moist air (thermodynamic principle).
The model aims to need little computational effort. Therefore state machines represent the basis of the model and no Modelica Fluid is used.
If simulation runs instable, reduce clockPeriodGeneric and/or use one of the alternative equations for the calculation of p_sat_surface
in both dehumidification state machines (see source code of these state machines).
4 stars because the model was validated with an AHU test bench at E.ON ERC EBC, RWTH Aachen University. Additionally, simulations of a city district were made and compared to measurement data. Examples and descriptions are recorded in [1].
For further explanation for each parameter see noted sources and [1]! Please note that the assumptions are made regarding AHUs which are implemented in laboratories.
Figure 1 [5, appendix D]
References
diff --git a/AixLib/Airflow/Multizone/BaseClasses/Examples/PowerLawFixedM.mo b/AixLib/Airflow/Multizone/BaseClasses/Examples/PowerLawFixedM.mo index 94e40656e6..72ed3f952e 100644 --- a/AixLib/Airflow/Multizone/BaseClasses/Examples/PowerLawFixedM.mo +++ b/AixLib/Airflow/Multizone/BaseClasses/Examples/PowerLawFixedM.mo @@ -43,7 +43,7 @@ equation dp_turbulent=dp_turbulent); assert(abs(V_flow-VFixed_flow) < 1E-10, "Error: The two implementations of the power law model need to give identical results"); annotation ( -experiment(StopTime=1.0), +experiment(Tolerance=1e-6, StopTime=1.0), __Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/BaseClasses/Examples/PowerLawFixedM.mos" "Simulate and plot"), Documentation(info="
diff --git a/AixLib/Airflow/Multizone/BaseClasses/Examples/WindPressureLowRise.mo b/AixLib/Airflow/Multizone/BaseClasses/Examples/WindPressureLowRise.mo index ce480447db..fcf99f93ba 100644 --- a/AixLib/Airflow/Multizone/BaseClasses/Examples/WindPressureLowRise.mo +++ b/AixLib/Airflow/Multizone/BaseClasses/Examples/WindPressureLowRise.mo @@ -13,7 +13,7 @@ equation G=G, incAng=incAng); annotation ( -experiment(StartTime=-2, StopTime=2), +experiment(StartTime=-2, Tolerance=1e-6, StopTime=2), __Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/BaseClasses/Examples/WindPressureLowRise.mos" "Simulate and plot"), Documentation(info="
diff --git a/AixLib/Airflow/Multizone/BaseClasses/PowerLawResistance.mo b/AixLib/Airflow/Multizone/BaseClasses/PowerLawResistance.mo
index 17047610c1..9c30fd831f 100644
--- a/AixLib/Airflow/Multizone/BaseClasses/PowerLawResistance.mo
+++ b/AixLib/Airflow/Multizone/BaseClasses/PowerLawResistance.mo
@@ -136,14 +136,14 @@ revisions="
January 22, 2016, by Michael Wetter:
Corrected type declaration of pressure difference.
This is
-for #404.
+for #404.
showDesignFlowDirection
in extends
statement.
This is for
-#349.
+#349.
spliceFunction
with regStep
.
This is for
-issue 300.
+issue 300.
A
which was
+A=CD/CDRat * L * dpRat^(0.5-m))
rather than
+A=CDRat/CD * L * dpRat^(0.5-m))
.This model is based on diff --git a/AixLib/Airflow/Multizone/Examples/ClosedDoors.mo b/AixLib/Airflow/Multizone/Examples/ClosedDoors.mo index 4b21708633..ce0097fd1a 100644 --- a/AixLib/Airflow/Multizone/Examples/ClosedDoors.mo +++ b/AixLib/Airflow/Multizone/Examples/ClosedDoors.mo @@ -106,7 +106,7 @@ equation points={{-67,-5.55112e-16},{-67,-14},{10,-14}}, color={0,127,255})); annotation ( -experiment(StopTime=7200), +experiment(Tolerance=1e-006, StopTime=7200), __Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/Examples/ClosedDoors.mos" "Simulate and plot"), Documentation(info=" diff --git a/AixLib/Airflow/Multizone/Examples/NaturalVentilation.mo b/AixLib/Airflow/Multizone/Examples/NaturalVentilation.mo index 3ae4e5e29a..42e8c3e19a 100644 --- a/AixLib/Airflow/Multizone/Examples/NaturalVentilation.mo +++ b/AixLib/Airflow/Multizone/Examples/NaturalVentilation.mo @@ -81,7 +81,7 @@ equation annotation ( Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{200, 100}})), -experiment(StopTime=7200), +experiment(Tolerance=1e-06, StopTime=7200), __Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/Examples/NaturalVentilation.mos" "Simulate and plot"), Documentation(info=" diff --git a/AixLib/Airflow/Multizone/Examples/OneEffectiveAirLeakageArea.mo b/AixLib/Airflow/Multizone/Examples/OneEffectiveAirLeakageArea.mo index 01abf302ac..c53a2d710f 100644 --- a/AixLib/Airflow/Multizone/Examples/OneEffectiveAirLeakageArea.mo +++ b/AixLib/Airflow/Multizone/Examples/OneEffectiveAirLeakageArea.mo @@ -65,7 +65,7 @@ equation "Simulate and plot"), experiment( StopTime=7200, - Tolerance=1e-05), + Tolerance=1e-08), Documentation(info="
This model consists of a model for an effective air leakage area diff --git a/AixLib/Airflow/Multizone/Examples/OneOpenDoor.mo b/AixLib/Airflow/Multizone/Examples/OneOpenDoor.mo index 72e2c9f30b..b1360adfdf 100644 --- a/AixLib/Airflow/Multizone/Examples/OneOpenDoor.mo +++ b/AixLib/Airflow/Multizone/Examples/OneOpenDoor.mo @@ -78,7 +78,7 @@ equation "Simulate and plot"), experiment( StopTime=7200, - Tolerance=1e-05), + Tolerance=1e-06), Documentation(info="
This model consists of two doors with the same geometry.
diff --git a/AixLib/Airflow/Multizone/Examples/OneRoom.mo b/AixLib/Airflow/Multizone/Examples/OneRoom.mo
index 5645a40f6d..ca91fd4634 100644
--- a/AixLib/Airflow/Multizone/Examples/OneRoom.mo
+++ b/AixLib/Airflow/Multizone/Examples/OneRoom.mo
@@ -90,7 +90,7 @@ equation
extent={{-90,60},{10,-88}},
lineColor={0,0,0},
lineThickness=1)}),
-experiment(StopTime=1),
+experiment(Tolerance=1e-06, StopTime=1),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/Examples/OneRoom.mos"
"Simulate and plot"),
Documentation(info="
diff --git a/AixLib/Airflow/Multizone/Examples/Orifice.mo b/AixLib/Airflow/Multizone/Examples/Orifice.mo
index c9054d355f..6f2fc5c553 100644
--- a/AixLib/Airflow/Multizone/Examples/Orifice.mo
+++ b/AixLib/Airflow/Multizone/Examples/Orifice.mo
@@ -60,7 +60,7 @@ equation
points={{50,30},{60,30}},
color={0,127,255}));
annotation (
-experiment(StopTime=1),
+experiment(Tolerance=1e-06, StopTime=1),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/Examples/Orifice.mos"
"Simulate and plot"),
Documentation(info="
diff --git a/AixLib/Airflow/Multizone/Examples/ReverseBuoyancy.mo b/AixLib/Airflow/Multizone/Examples/ReverseBuoyancy.mo
index a434accea9..55dea1ee2c 100644
--- a/AixLib/Airflow/Multizone/Examples/ReverseBuoyancy.mo
+++ b/AixLib/Airflow/Multizone/Examples/ReverseBuoyancy.mo
@@ -243,7 +243,7 @@ equation
extent={{-176,156},{-52,48}},
lineColor={135,135,135},
lineThickness=1)}),
-experiment(StopTime=3600),
+experiment(Tolerance=1e-06, StopTime=3600),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/Examples/ReverseBuoyancy.mos"
"Simulate and plot"),
Documentation(info="
diff --git a/AixLib/Airflow/Multizone/Examples/ReverseBuoyancy3Zones.mo b/AixLib/Airflow/Multizone/Examples/ReverseBuoyancy3Zones.mo
index 9cae5de39d..413f9f4460 100644
--- a/AixLib/Airflow/Multizone/Examples/ReverseBuoyancy3Zones.mo
+++ b/AixLib/Airflow/Multizone/Examples/ReverseBuoyancy3Zones.mo
@@ -198,7 +198,7 @@ equation
extent={{-176,160},{48,48}},
lineColor={135,135,135},
lineThickness=1)}),
-experiment(StopTime=3600),
+experiment(Tolerance=1e-06, StopTime=3600),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/Examples/ReverseBuoyancy3Zones.mos"
"Simulate and plot"),
Documentation(revisions="
diff --git a/AixLib/Airflow/Multizone/Examples/ZonalFlow.mo b/AixLib/Airflow/Multizone/Examples/ZonalFlow.mo
index a8e77e7fd3..dcbe01f85f 100644
--- a/AixLib/Airflow/Multizone/Examples/ZonalFlow.mo
+++ b/AixLib/Airflow/Multizone/Examples/ZonalFlow.mo
@@ -43,7 +43,7 @@ equation
points={{-11,-2},{-20,-2},{-20,58},{-77,58}},
color={0,0,127}));
annotation (
-experiment(StopTime=3600),
+experiment(Tolerance=1e-06, StopTime=3600),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/Examples/ZonalFlow.mos"
"Simulate and plot"),
Documentation(info="
diff --git a/AixLib/Airflow/Multizone/MediumColumn.mo b/AixLib/Airflow/Multizone/MediumColumn.mo
index a1b3f25c64..928ae87eac 100644
--- a/AixLib/Airflow/Multizone/MediumColumn.mo
+++ b/AixLib/Airflow/Multizone/MediumColumn.mo
@@ -209,13 +209,13 @@ November 3, 2016, by Michael Wetter:
Removed start values for mass flow rate and pressure difference
to simplify the parameter window.
This is for
-#552.
+#552.
Modelica.Fluid.System
to address issue
-#311.
+#311.
port_?.p.nominal
to avoid a warning in OpenModelica because
diff --git a/AixLib/Airflow/Multizone/Validation/ThreeRoomsContam.mo b/AixLib/Airflow/Multizone/Validation/ThreeRoomsContam.mo
index 02c806b4d4..c819490fa0 100644
--- a/AixLib/Airflow/Multizone/Validation/ThreeRoomsContam.mo
+++ b/AixLib/Airflow/Multizone/Validation/ThreeRoomsContam.mo
@@ -230,7 +230,7 @@ equation
extent={{-160,160},{152,49}},
lineColor={135,135,135},
lineThickness=1)}),
-experiment(StopTime=3600),
+experiment(Tolerance=1e-06, StopTime=3600),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/Airflow/Multizone/Validation/ThreeRoomsContam.mos"
"Simulate and plot"),
Documentation(info="
diff --git a/AixLib/BoundaryConditions/GroundTemperature/Examples/ExampleSanFran.mo b/AixLib/BoundaryConditions/GroundTemperature/Examples/ExampleSanFran.mo
new file mode 100644
index 0000000000..1cd5a7d1cd
--- /dev/null
+++ b/AixLib/BoundaryConditions/GroundTemperature/Examples/ExampleSanFran.mo
@@ -0,0 +1,113 @@
+within AixLib.BoundaryConditions.GroundTemperature.Examples;
+model ExampleSanFran
+ extends Modelica.Icons.Example;
+ Real T_max(start=0) "Keeps track of the maximum air temperature";
+ Real T_min(start=300) "Keeps track of the minimum air temperature";
+
+
+ AixLib.BoundaryConditions.WeatherData.Bus weaBus "Component to supply air
+ temperature" annotation (Placement(
+ transformation(extent={{-90,54},{-50,94}}), iconTransformation(extent={{
+ -168,6},{-148,26}})));
+ Modelica.Blocks.Interfaces.RealOutput T_air "Output to show air temperature"
+ annotation (Placement(transformation(extent={{140,62},{160,82}})));
+ Modelica.Blocks.Continuous.Integrator integrator "Integrates air temperature
+ to compute average air temperature"
+ annotation (Placement(transformation(extent={{0,40},{20,60}})));
+ Modelica.Blocks.Math.Division division "Division for average air temperature"
+ annotation (Placement(transformation(extent={{40,20},{60,40}})));
+ Modelica.Blocks.Sources.RealExpression timeSource(y=time) "Denominator for
+ average air temperature"
+ annotation (Placement(transformation(extent={{-40,-18},{-20,2}})));
+ Modelica.Blocks.Interfaces.RealOutput T_mean "Output of average air
+ temperature since beginning of simulation"
+ annotation (Placement(transformation(extent={{140,20},{160,40}})));
+ Modelica.Blocks.Math.Max denominatorTmean
+ "Max-function to prevent division by 0 at time=0"
+ annotation (Placement(transformation(extent={{10,-12},{30,8}})));
+ Modelica.Blocks.Sources.RealExpression denominatorAtTimeZero(y=1) "Real source
+ to prevent division by 0 at time=0"
+ annotation (Placement(transformation(extent={{-40,4},{-20,24}})));
+ AixLib.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(
+ computeWetBulbTemperature=false, filNam="modelica://AixLib/Resources/WeatherData/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos")
+ "File reader that reads weather data"
+ annotation (Placement(transformation(extent={{-40,78},{-20,98}})));
+ GroundTemperatureKusuda groundTemperatureKasuda(
+ t_shift=23,
+ alpha=0.039,
+ D=1,
+ T_mean=286.95,
+ T_amp=15.49) "Undisturbed ground temperature model"
+ annotation (Placement(transformation(extent={{40,-60},{60,-40}})));
+ Modelica.Blocks.Interfaces.RealOutput T_ground "Output to show ground
+ temperature"
+ annotation (Placement(transformation(extent={{140,-56},{160,-36}})));
+ Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor temperatureSensor "Sensor
+ to show ground temperature"
+ annotation (Placement(transformation(extent={{74,-60},{94,-40}})));
+ Modelica.Blocks.Interfaces.RealOutput T_amp
+ "Keeps track of the amplitude of the air temperature"
+ annotation (Placement(transformation(extent={{140,-10},{160,10}})));
+equation
+
+ T_max=max(T_max, T_air);
+ T_min=min(T_min, T_air);
+ T_amp = (T_max-T_min)/2;
+ connect(T_air, weaBus.TDryBul) annotation (Line(points={{150,72},{-70,72},{-70,
+ 74}}, color={0,0,127}), Text(
+ string="%second",
+ index=1,
+ extent={{6,3},{6,3}}));
+ connect(integrator.u, T_air) annotation (Line(points={{-2,50},{-14,50},{-14,
+ 72},{150,72}}, color={0,0,127}));
+ connect(integrator.y, division.u1) annotation (Line(points={{21,50},{30,50},{30,
+ 36},{38,36}}, color={0,0,127}));
+ connect(division.y, T_mean)
+ annotation (Line(points={{61,30},{92,30},{150,30}},
+ color={0,0,127}));
+ connect(division.u2, denominatorTmean.y)
+ annotation (Line(points={{38,24},{31,24},{31,-2}}, color={0,0,127}));
+ connect(denominatorTmean.u2, timeSource.y)
+ annotation (Line(points={{8,-8},{-19,-8}}, color={0,0,127}));
+ connect(denominatorAtTimeZero.y, denominatorTmean.u1)
+ annotation (Line(points={{-19,14},{2,14},{2,4},{8,4}}, color={0,0,127}));
+ connect(weaDat.weaBus, weaBus) annotation (Line(
+ points={{-20,88},{-16,88},{-16,86},{-10,86},{-10,74},{-70,74}},
+ color={255,204,51},
+ thickness=0.5), Text(
+ string="%second",
+ index=1,
+ extent={{6,3},{6,3}}));
+ connect(groundTemperatureKasuda.port_a, temperatureSensor.port) annotation (
+ Line(points={{59.4,-55},{70,-55},{70,-50},{74,-50}}, color={191,0,0}));
+ connect(temperatureSensor.T, T_ground) annotation (Line(points={{94,-50},{110,
+ -50},{110,-46},{150,-46}}, color={0,0,127}));
+ annotation (Documentation(revisions="
+Example to test and tune Kusuda ground temperature model with the weather model from the Modelica Buildings Library.
+ +The outputs T, Tamp and Tmean in the top of the model can be used to determine the parameters +tshift (day of the coldest air temperature in the year), Tmean (average air temperature in the year) + and Tamp (amplitude of the air temperature) for the Kusuda ground temperature model.
+ +The output Tground constitutes the main result of this example and shows the trajectory of the ground +temperature over the year.
+ + + + +"), experiment( + StopTime=3.1536e+007, + __Dymola_NumberOfIntervals=10000, + __Dymola_Algorithm="Euler"), + __Dymola_experimentSetupOutput, + __Dymola_experimentFlags( + Advanced(GenerateVariableDependencies=false, OutputModelicaCode=false), + Evaluate=false, + OutputCPUtime=false, + OutputFlatModelica=false)); +end ExampleSanFran; diff --git a/AixLib/BoundaryConditions/GroundTemperature/Examples/package.mo b/AixLib/BoundaryConditions/GroundTemperature/Examples/package.mo new file mode 100644 index 0000000000..38dcced088 --- /dev/null +++ b/AixLib/BoundaryConditions/GroundTemperature/Examples/package.mo @@ -0,0 +1,4 @@ +within AixLib.BoundaryConditions.GroundTemperature; +package Examples +extends Modelica.Icons.ExamplesPackage; +end Examples; diff --git a/AixLib/BoundaryConditions/GroundTemperature/Examples/package.order b/AixLib/BoundaryConditions/GroundTemperature/Examples/package.order new file mode 100644 index 0000000000..d03a54e377 --- /dev/null +++ b/AixLib/BoundaryConditions/GroundTemperature/Examples/package.order @@ -0,0 +1 @@ +ExampleSanFran diff --git a/AixLib/BoundaryConditions/GroundTemperature/GroundTemperatureKusuda.mo b/AixLib/BoundaryConditions/GroundTemperature/GroundTemperatureKusuda.mo new file mode 100644 index 0000000000..cc597eb9bf --- /dev/null +++ b/AixLib/BoundaryConditions/GroundTemperature/GroundTemperatureKusuda.mo @@ -0,0 +1,103 @@ +within AixLib.BoundaryConditions.GroundTemperature; +model GroundTemperatureKusuda "Model for undisturbed ground temperature" + + parameter Modelica.SIunits.Temperature T_mean "Average air temperature over the year"; + parameter Modelica.SIunits.TemperatureDifference T_amp "Difference between max and min air temperature"; + parameter Modelica.SIunits.Distance D "Depth of ground temperature"; + parameter Modelica.SIunits.ThermalDiffusivity alpha=0.04 "Thermal diffusivity of the ground. Declare in m2/day!"; + parameter Modelica.SIunits.Time t_shift "Time of the year with minimum air temperature. Declare in days!"; + + Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature + prescribedTemperature "Transfers computed ground temperature to heat port" + annotation (Placement(transformation(extent={{-20,-20},{0,0}}))); + Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a port_a "Heat port for ground" annotation ( + Placement(transformation(extent={{84,-60},{104,-40}}), iconTransformation( + extent={{84,-60},{104,-40}}))); + +equation + + prescribedTemperature.T = (T_mean)-(T_amp)*(exp(-D*sqrt(Modelica.Constants.pi/(365*alpha)))*cos(2*Modelica.Constants.pi/365*(time/(3600*24)-t_shift-D/2*sqrt(Modelica.Constants.pi/(365*alpha))))); + + connect(prescribedTemperature.port, port_a) annotation (Line(points={{0,-10},{28,-10},{58,-10},{58,-50}, + {94,-50}}, color={191,0,0})); + annotation (Icon(coordinateSystem(preserveAspectRatio=false), graphics={ + Polygon( + points={{-100,20},{-46,14},{-10,20},{24,16},{60,18},{78,12},{100,20},{ + 100,-100},{-100,-100},{-100,20}}, + lineColor={0,0,0}, + fillColor={127,66,38}, + fillPattern=FillPattern.Solid), + Polygon( + points={{-100,20},{-100,32},{-42,22},{-4,30},{32,22},{66,24},{82,20},{ + 100,28},{100,20},{78,12},{60,18},{24,16},{-10,20},{-46,14},{-100,20}}, + lineColor={0,0,0}, + fillColor={0,140,72}, + fillPattern=FillPattern.Solid), + Polygon( + points={{-100,100},{100,100},{100,28},{82,20},{66,24},{32,22},{-4,30}, + {-42,22},{-100,32},{-100,100}}, + lineColor={0,0,0}, + fillColor={0,157,255}, + fillPattern=FillPattern.Solid), + Ellipse( + extent={{-70,84},{-40,54}}, + lineColor={0,0,0}, + fillColor={255,255,85}, + fillPattern=FillPattern.Solid), + Text( + extent={{-139,-104},{161,-144}}, + lineColor={0,0,255}, + textString="%name")}), Diagram( + coordinateSystem(preserveAspectRatio=false)), + Documentation(revisions=" +Tground =Tmean*Tamp*exp(-D*√(π/(365*α))) +*cos((2π/365)(t-tshift-(D/2)*√(365/(π*α))))
+ +The model does not model the influence of the pipe temperature loss on the ground temperature. +The ground temperature is only dependent on the set parameters.
+ +The model is used as a boundary condition for the thermal losses in district heating pipes.
+ +Differently then stated in the parameter description below tshift needs to be +declared in days and α needs to me declared in m2/day! (The Modelica SI unit diffusivity +does not support m2/day as a display unit.)
+ + +A typical value for α is bewteen 0.03 and 0.05 m2/day.
+ +No options.
+ +The validation was done by comparing simulation results +(San Francisco example) with the +findings of the first given reference below (Florides and Kalogirou,2005).
+ +The model implements the equation given above and supplies the undisturbed ground temperature via +a heat port.
+ +nOpa
for correct display of units
in weaBus
and input radHorIR
to HHorIR
-for #376.
+for #376.
TBlaSky
.
+This verifies the consistency of the two computation methods.
+This is for
+#648.
+connect
statement for infrared radiation due renaming of the
variable. This is for
-issue 376.
+issue 376.
Added comments.
This example computes the solar hour angle,
diff --git a/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/Examples/WallSolarAzimuth.mo b/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/Examples/WallSolarAzimuth.mo
index 14e4f0761c..721d8cc6df 100644
--- a/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/Examples/WallSolarAzimuth.mo
+++ b/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/Examples/WallSolarAzimuth.mo
@@ -44,7 +44,7 @@ equation
string="%first",
index=-1,
extent={{-6,3},{-6,3}}));
- annotation (experiment(StopTime=86400),
+ annotation (experiment(Tolerance=1e-6, StopTime=86400),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/BoundaryConditions/SolarGeometry/BaseClasses/Examples/WallSolarAzimuth.mos"
"Simulate and plot"),
Documentation(info="
diff --git a/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/Examples/ZenithAngle.mo b/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/Examples/ZenithAngle.mo
index b769ab76fa..b2b9f31209 100644
--- a/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/Examples/ZenithAngle.mo
+++ b/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/Examples/ZenithAngle.mo
@@ -59,7 +59,7 @@ First implementation.
"),
-experiment(StartTime=100000, StopTime=300000),
+experiment(StartTime=100000, Tolerance=1e-6, StopTime=300000),
__Dymola_Commands(file="modelica://AixLib/Resources/Scripts/Dymola/BoundaryConditions/SolarGeometry/BaseClasses/Examples/ZenithAngle.mos"
"Simulate and plot"));
end ZenithAngle;
diff --git a/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/ZenithAngle.mo b/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/ZenithAngle.mo
index b2f4d474f3..36bb022345 100644
--- a/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/ZenithAngle.mo
+++ b/AixLib/BoundaryConditions/SolarGeometry/BaseClasses/ZenithAngle.mo
@@ -31,7 +31,7 @@ Input are the solar hour angle and the declination angle.
January 5, 2015, by Michael Wetter:
Updated comment of the input connector as this is used in the weather bus connector.
This is for
-issue 376.
+issue 376.
spliceFunction
with regStep
.
This is for
-issue 300.
+issue 300.
deltaX
from 0.1
to 0.01
,
and also optimized the code.weaBus
.
This is for
-
-https://github.com/iea-annex60/modelica-annex60/issues/461.
+
+https://github.com/ibpsa/modelica-ibpsa/issues/461.