Built-in loadshapes
[histogram]

MT_ANALOG
loadshape_create(s,MT_ANALOG,double energy) where energy is the total energy used over the schedule definition
MT_PULSED
loadshape_create(s,MT_PULSED,double energy, double scalar, MACHINEPULSETYPE pulsetype, double pulsevalue) where energy is the total energy used over the schedule definition, scalar is the number of pulses generated over the schedule definition, pulsetype is the type of pulse generated (fixed duration or fixed power), and pulsevalue is the value of the fixed part of the pulse.
MT_MODULATED
loadshape_create(s,MT_PULSED,double energy, double scalar, MACHINEPULSETYPE pulsetype, double pulsevalue) where energy is the total energy used over the schedule definition, scalar is the number of pulses generated over the schedule definition, pulsetype is the type of pulse generated (fixed duration or fixed power), and pulsevalue is the value of the fixed part of the pulse.
MT_QUEUED
loadshape_create(s,MT_PULSED,double energy, double scalar, MACHINEPULSETYPE pulsetype, double pulsevalue, double q_on, double q_off) where energy is the total energy used over the schedule definition, scalar is the number of pulses generated over the schedule definition, pulsetype is the type of pulse generated (fixed duration or fixed power), pulsevalue is the value of the fixed part of the pulse, q_on is the pulse queue value at which the pulses are started, and q_off is the pulse queue value at which the pulses are stopped.


GridLAB-DTM Version 2.0
An open-source project initiated by the US Department of Energy