I would suggest to use the Initialization tab in the Simulation Parameters. Convert your values into two Octave arrays in a way the 1D Look-Up Table block can use it:
Time | Power
0.0 | 10
0.1 | 10
0.1 | 20
1 | 20
1 | 15
3 | 15
With this method you can output arbitrary waveforms using the modulo function.
Thank you very much for your suggestion and for providing me with an example model. I think I can make it work as you suggest.
Let me think about it and try to implement it. The reason I am hesitant is that ideally, I would like to implement this on a ramp (change its Starting time and its Final output accordingly).
I will let you know as soon as I implement your example. Thank you once again.
Hi this is nearly what i search so i maybe get the right answer here.
I want to Use diffent DutyCyle Vallues in one Curve maybe the first second from 0-1sec with 0.5 and from 1-2 sec with with 0.4 can i maybe realise that as well?
This is my first Projekt with Plecs so probebly there is an easy way for it but i didn t finde it right now.
You would need to build up your pulse generator logic from other components. I attached a simple PLECS Standalone example where a step function changes the modulation index (duty cycle) for our prebuilt Symmetrical PWM block and the resulting pulse train can be seen in a Scope. You can see the implementation of the PWM block under its mask and can replace the step function with a table of duty cycle values as in the examples above.