#include <StepLoad.h>
Public Member Functions | |
StepLoad (unsigned which, double fraction, double when, ElectricalData *data) | |
void | delta_int () |
void | output_func (adevs::Bag< adevs::PortValue< BasicEvent * > > &yb) |
double | ta () |
void | delta_ext (double, const adevs::Bag< adevs::PortValue< BasicEvent * > > &) |
void | delta_conf (const adevs::Bag< adevs::PortValue< BasicEvent * > > &) |
void | gc_output (adevs::Bag< adevs::PortValue< BasicEvent * > > &) |
Static Public Attributes | |
static const int | base_load = 0 |
This model will cause a step change in the real admittance at the specied load.
Definition at line 12 of file StepLoad.h.
StepLoad::StepLoad | ( | unsigned | which, | |
double | fraction, | |||
double | when, | |||
ElectricalData * | data | |||
) |
Change which load at the given time by a given fraction of its initial value.
Definition at line 8 of file StepLoad.cpp.
const int StepLoad::base_load = 0 [static] |
Output is a LoadEvent that carries the new admittance value for the load that is changed.
Definition at line 20 of file StepLoad.h.