Spectrum Software
spacer
Industrial Strength Simulation
select:

divider

 

News:

Spectrum Software has released Micro-Cap 11, the eleventh generation of our SPICE circuit simulator.

For users of previous Micro-Cap versions, check out the new features available in the latest version. For those of you who are new to Micro-Cap, take our features tour to see what Micro-Cap has to offer.

 

divider

 

Questions and Answers

 

Question:
How do I plot or print energy?

Answer:
In Micro-Cap 6, there are no energy operators but the energy can still be plotted by using the integration operator. See the Questions and Answers column of the Winter 2001 newsletter for information on how to do this.

Energy can be plotted directly in Micro-Cap 7 by using the following syntax:

Energy Generated
Use EG for energy generated or supplied by sources. For example EG(V1) is the energy generated by the source V1. EG by itself is the energy supplied by all sources in the circuit

Energy Stored
Use ES for energy stored in active devices, diodes, capacitors and inductors. For example ES(C1) is the energy stored in the capacitor C1. ES(D1) is the energy stored in the capacitance of diode D1. ES by itself is the energy stored in all capacitors and inductors in the circuit

Energy Dissipated
Use ED for energy dissipated in resistors and diodes and other active devices. For example ED(R1) is the energy dissipated in the resistor R1. ED(D1) is the energy dissipated in the resistive parts of diode D1. ED by itself is the energy dissipated in the entire circuit.

Question:
During a Monte Carlo run, the performance function being used extracts a single value from its target waveform for each run. After N runs are complete, the histogram of the N values is plotted. The individual values can be seen in the list shown to the right of the histogram. The question arises, how can I extract these values and import them to another program?

Answer:
From the Monte Carlo menu select the Statistics item. This displays the Monte Carlo Statistics window called circuit.tmc (*.tmc for transient analysis, *.amc for AC, and *.dmc for DC). This window shows the individual values. You can select all values with CTRL+A (or just part of them with the mouse) and copy them to the clipboard with CTRL+C. From there you can switch to another program (such as Excel or Word) and paste them in with CTRL+V.

 
Return to the main Newsletter page