11 #include <dpsim-models/Signal/SignalGenerator.h>
43 bool mUseAbsoluteCalc =
true;
50 Logger::Level logLevel = Logger::Level::off)
52 SPDLOG_LOGGER_INFO(
mSLog,
"Create {} {}",
type(), name);
55 void setParameters(Complex initialPhasor, Real freqStart, Real ramp,
56 Real timeStart, Real duration,
bool smoothRamp =
true);
String type()
Get component type (cross-platform)
Model to generate signals containing a frequency ramp.
void stepAbsolute(Real time)
implementation of inherited method step to update and return the current signal value
void stepSmooth(Real time)
update and return signal value using a cosine shaped ramp
void setParameters(Complex initialPhasor, Real freqStart, Real ramp, Real timeStart, Real duration, bool smoothRamp=true)
set frequency ramp specific parameters
void step(Real time)
implementation of inherited method step to update and return the current signal value
Model to generate generic signals.
Logger::Log mSLog
Component logger.