Jeff Young
68fe146861
Remove most of SIM_VALUE in favour of good old wxString.
This allows us to save the user's intent, including units, formatting,
and crucially variable references.
3 years ago
Jeff Young
90adc26b73
Remove dead and redundant code.
3 years ago
Fabien Corona
5482bc2905
sim - Check FindParam() results before using them
3 years ago
Mikolaj Wielgus
e7c43ca20a
Sim: Remove inference from Reference and Value
3 years ago
Mikolaj Wielgus
80c426f577
Sim: Fix writing inferred model for tlines
3 years ago
Mikolaj Wielgus
d9eb76eae0
Sim: Refactor SPICE_GENERATOR methods to accept a single SPICE_ITEM
3 years ago
Mikolaj Wielgus
e4865ce543
Excise wxString from simulation
3 years ago
Mikolaj Wielgus
907ad27e7f
Sim: Move SPICE_GENERATOR class to a new file
3 years ago
Mikolaj Wielgus
e4c5bc6c66
Sim: Refactor Spice code generation to a new SPICE_GENERATOR class
3 years ago
Mikolaj Wielgus
70ab5db0e9
Sim Model Editor: Fix crash on selecting tline models
Dereferencing std::optional<T> objects was undefined behavior.
Change some forgotten SIM_VALUE_INST<T> usages to their corresponding
typedefs.
3 years ago
Mikolaj Wielgus
748324f4cd
Sim: Use O-devices to simulate all tlines (much faster than T-devices)
3 years ago
Mikolaj Wielgus
3b3131ad74
Create class for voltage and current -controlled switches
Unfortunately, along the way it turned out that Ngspice's .probe alli
breaks current-controlled switches. So they won't work in that case for
now.
3 years ago
Mikolaj Wielgus
7cf5138c63
Sim: Bugfixes, mostly for MS Windows compilation errors
Unfortunately, Windows headers define a lot of macros for common words,
so we had to rename some enums to not collide.
We also fix some of the many bugs related to the new simulation
architecture and the Spice Model Editor dialog.
3 years ago
Mikolaj Wielgus
739b9255d9
Sim Model Editor improvements
- Tab-switching,
- Automatic expansion of categories on tab-switch,
- Various minor simulation improvements,
- Various new simulation-related bugfixes.
4 years ago
Mikolaj Wielgus
6984f63af8
Sim: Transmission line models
Implement transmission line models and perform some adjustments to
the current models. Add some QA tests.
4 years ago