Piecewise Linear Voltage Source
R2026bTime-dependent voltage source using lookup table
Libraries:
Simscape /
Electrical /
Sources
Simscape /
Electrical /
Additional Components /
SPICE Sources
Description
The Piecewise Linear Voltage Source block represents a voltage source that you specify in lookup table form using a vector of time values and a vector of the corresponding voltage values. You must specify at least two time-current value pairs. The block generates a time-dependent voltage based on these time-voltage values using the selected interpolation and extrapolation methods. You have a choice of two interpolation methods and extrapolation methods. The output voltage is independent of the current through the source.
Examples
Assumptions and Limitations
The Piecewise Linear Voltage Source block does not support energy accounting. If you try to get energy
information for this block using the getEnergyInfo function, the function generates an error message.
Ports
Conserving
Parameters
References
[1] D. Kahaner, C. Moler, and S. Nash. Numerical Methods and Software. Prentice Hall, 1988.
[2] W.H. Press, B.P. Flannery, S.A. Teulkolsky, and W.T. Wetterling. Numerical Recipes in C: The Art of Scientific Computing. Cambridge University Press, 1992.
Extended Capabilities
Version History
Introduced in R2008a



