11 #include <dpsim-models/Signal/SignalGenerator.h>
30 Real mModulationFrequency;
32 Real mModulationAmplitude;
40 SPDLOG_LOGGER_INFO(
mSLog,
"Create {} {}",
type(), name);
43 void setParameters(Complex initialPhasor, Real modulationFrequency,
44 Real modulationAmplitude, Real frequency = 0.0,
String type()
Get component type (cross-platform)
Model to generate signals containing a frequency ramp.
void setParameters(Complex initialPhasor, Real modulationFrequency, Real modulationAmplitude, Real frequency=0.0, bool zigzag=false)
set the source's parameters
CosineFMGenerator(String name, Logger::Level logLevel=Logger::Level::off)
init the identified object
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.