Error with S-Domain Transfer Function - not supported in the SPICE simulation
I am encountering an issue with the 's-domain transfer function' in PSIM 2024 and was hoping you could assist me in understanding the root cause of the problem. Here is the error message I received:
```
Error Message:
Element: TFCTN Name: Gm
This element is not supported in the SPICE simulation.
```
Could you please help me discover why this error is occurring and how I might resolve it?
Answers
-
The answer to your question is:
SPICE does not have any element for s-domain transfer function.PSIM's SPICE link is to capture PSIM's schematic and translate it into SPICE netlist. The SPICE simulation is run in the SPICE engine.
Many (but not all) PSIM elements can be used for SPICE simulation.
To know which of the PSIM library elements is supported for SPICE simulation, in Options >> Settings >> Advanced, please check the box "Show image next to elements that can be used for SPICE". Then, in the Elements menu, elements that can be used for SPICE will be marked as "Sp". If the box "Show image next to elements that can be used for code generation" is also checked, the elements which can be use in both SPICE and Code-gen will be marked as "Cp".
The two major reasons for an element not supported for SPICE simulation are:
- The function does not exist in SPICE, such as the "Magnetic Elements", and "Mechanical Load and Sensors", digital control functions, and etc.
- The develop team has not found time to implement the translation from the PSIM element to SPICE netlist.
On the other side, if you already have a SPICE element and can't find it in PSIM library, or a function of a model in a subcircuit netlist, PSIM provide two elements in "Elements >> SPICE"
- SPICE directive block- SPICE subcircuit netlist block
Any SPICE element that has not been implemented with corresponding PSIM elements should be inserted in the schematics as a subcircuit block using the "SPICE Subcircuit Netlist Block" and "SPICE Directive Block".
For more information about PSIM-SPICE link, please use PSIM's "Help >> Document >> SPICE Module User's Guide".
Sincerely,
Rhonda0