Layout
- class chiller_sim.layout.grid.ChillerLayout(positions_m, base_cop, alpha, ages_years, max_cooling_kw)[source]
Bases:
objectImmutable description of a chiller array layout and its ageing state.
- Parameters:
- classmethod from_positions(positions_m, ages_years, base_cop, max_cooling_kw, alpha=0.7)[source]
Build a layout from explicit (x, y) positions.
- Parameters:
positions_m (ndarray, shape (n, 2)) – Each row is an (x, y) coordinate in metres.
ages_years (ndarray, shape (n,)) – Age of each chiller in years.
base_cop (float) – Nameplate COP for a brand-new chiller.
max_cooling_kw (float) – Nameplate cooling capacity in kW (must be > 0).
alpha (float, optional) – Age-degradation exponent, by default 0.7.
- Return type:
- class chiller_sim.layout.wind.WindConditions(speed_m_per_s, angle_deg)[source]
Bases:
objectSnapshot of wind speed and direction at a single point in time.
- property unit_vector: ndarray[tuple[Any, ...], dtype[float64]]
Return a unit vector pointing in the wind direction.