Skip to content
LIBRARY
Examples.HVAC.HVACWeather.md

Examples.HVAC.HVACWeather ​

Outdoor temperature of the tutorial week (hourly Hörby observations, held constant over each hour), as a continuous signal: y = hvac_outdoor_temperature(time) with time in hours.

Usage ​

MPCComponents.Examples.HVAC.HVACWeather()

Connectors ​

  • y - This connector represents a real signal as an output from a component (RealOutput)

Behavior ​

Behavior of this component cannot be rendered because it includes path variables.

Source ​

dyad
"""
Outdoor temperature of the tutorial week (hourly Hörby observations, held constant over each hour),
as a continuous signal: `y = hvac_outdoor_temperature(time)` with time in hours.
"""
component HVACWeather
  "Outdoor temperature [°C]"
  y = RealOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
  y = hvac_outdoor_temperature(time)
metadata {
  "Dyad": {
    "icons": {"default": "dyad://MPCComponents/HVACWeather.svg"},
    "doc": {"behavior": false}
  }
}
end
Flattened Source
dyad
"""
Outdoor temperature of the tutorial week (hourly Hörby observations, held constant over each hour),
as a continuous signal: `y = hvac_outdoor_temperature(time)` with time in hours.
"""
component HVACWeather
  "Outdoor temperature [°C]"
  y = RealOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
  y = hvac_outdoor_temperature(time)
metadata {
  "Dyad": {
    "icons": {"default": "dyad://MPCComponents/HVACWeather.svg"},
    "doc": {"behavior": false}
  }
}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses