Skip to content

WeatherInputs

Weather data: inputs of building_mpc (from a weather file or a forecast)

FastSmoothBuildings.Interfaces.WeatherInputs, connector (source)

Purpose

The weather data as inputs of building_mpc, the model for optimal control, from a weather file or a forecast: TDryBul and TBlaSky (K), winSpe (m/s), winDir (rad, 0 for a wind from the north), HDirNor, HDifHor and HGloHor (W/m2). Signals, not flow variables.

Use

Declared at the top level of the model, its variables are inputs of the CasADi function (see Translation into CasADi). They are the seven inputs of BoundaryConditions.Weather, which adds the solar position, the Perez coefficients and the atmospheric pressure of the WeatherBus.

Revisions

  • October 2026: moved from trano's FastModel.Interfaces.