ConsumptionProfile

class scml.scml2019.ConsumptionProfile(schedule=0, underconsumption=0.1, overconsumption=0.01, dynamicity=0.0, cv=0.1, alpha_q=0.5, alpha_u=1.0, beta_q=10.0, beta_u=10.0, tau_q=2, tau_u=0.25)[source]

Bases: object

Attributes Summary

alpha_q

alpha_u

beta_q

beta_u

cv

dynamicity

overconsumption

schedule

tau_q

tau_u

underconsumption

Methods Summary

random()

schedule_at(time)

rtype

int

schedule_within(time)

rtype

int

set_schedule_at(time, value, n_steps)

rtype

None

Attributes Documentation

alpha_q: float = 0.5
alpha_u: float = 1.0
beta_q: float = 10.0
beta_u: float = 10.0
cv: float = 0.1
dynamicity: float = 0.0
overconsumption: float = 0.01
schedule: Union[int, List[int]] = 0
tau_q: float = 2
tau_u: float = 0.25
underconsumption: float = 0.1

Methods Documentation

classmethod random()[source]
schedule_at(time)[source]
Return type

int

schedule_within(time)[source]
Return type

int

set_schedule_at(time, value, n_steps)[source]
Return type

None