SSM¶
- class ssm.BuildingEnvelope(nsim=1000, ninit=1000, system='Reno_full', linear=True, seed=59)[source]¶
building envelope heat transfer model linear building envelope dynamics and bilinear heat flow input dynamics different building types are stored in ./emulators/buildings/.mat documentation about the building systems is stored in ./emulators/buildings/building_type/ models obtained from:
- systems = ['SimpleSingleZone', 'Reno_full', 'Reno_ROM40', 'RenoLight_full', 'RenoLight_ROM40', 'Old_full', 'Old_ROM40', 'HollandschHuys_full', 'HollandschHuys_ROM100', 'Infrax_full', 'Infrax_ROM100']¶
- class ssm.SSM(nsim=1001, ninit=0, ts=0.1, seed=59)[source]¶
base class state space model
- simulate(ninit=None, nsim=None, U=None, D=None, x0=None)[source]¶
- Parameters:
nsim – (int) Number of steps for open loop response
U – (ndarray, shape=(nsim, self.nu)) control signals
D – (ndarray, shape=(nsim, self.nd)) measured disturbance signals
x0 – (ndarray, shape=(self.nx)) Initial state.
- Returns:
The response matrices, i.e. X, Y, U, D