From 2b552390082a295c1ae4a101e71c9f6553cb47a6 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 13 Oct 2019 10:22:38 +0200 Subject: [PATCH] short description of the startup branch contents --- README.startup | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.startup diff --git a/README.startup b/README.startup new file mode 100644 index 000000000..710045aec --- /dev/null +++ b/README.startup @@ -0,0 +1,15 @@ +Adding a startup (or ramp) time to independent voltage and current sources. + +By adding a flaG 'startup' to the 'tran' command, all independent current +and voltage source outputs are scaled by the factor time/StartupTime if +simulation time is smaller than StartupTime. Thus they are ramped up +linearily between times 0 and StartupTime. + +The default value of 20us may be overridden by adding a line +set startup_time = +to .spiceinit (or to the top of a .control script), where may +be any valid ngspice real number representing time. Negativ or 0 entries +are ignored. + +Code changes include introducing a new mode flag MODESTARTUP and the +scaling in vsrcload.c and isrcload.c.