Fixed capacitor ael file

This commit is contained in:
2026-06-30 17:23:00 +02:00
parent 20e94f3dfa
commit c0c3de344a
+160 -160
View File
@@ -1,164 +1,164 @@
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Creating item definition for Capacitor // Creating item definition for Capacitor
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
create_item( create_item(
"mr_pas_c", // name "mr_pas_c", // name
"Capacitor", // description "Capacitor", // description
"C", // prefix "C", // prefix
0, // attributes 0, // attributes
NULL, // priority NULL, // priority
NULL, // icon name NULL, // icon name
standard_dialog, // dialog name standard_dialog, // dialog name
"", // dialog data "", // dialog data
ComponentNetlistFmt, // netlist format ComponentNetlistFmt, // netlist format
"C", // model name "C", // model name
ComponentAnnotFmt, // display format string ComponentAnnotFmt, // display format string
NULL, // symbol name (not used since 2011) NULL, // symbol name (not used since 2011)
NULL, // artwork type (not used since 2011) NULL, // artwork type (not used since 2011)
NULL, // artwork data (not used since 2011) NULL, // artwork data (not used since 2011)
ITEM_PRIMITIVE_EX, // extra attributes ITEM_PRIMITIVE_EX, // extra attributes
create_parm create_parm
( (
"C", // name "C", // name
"Capacitance", // label "Capacitance", // label
PARM_DOE | // attributes PARM_DOE | // attributes
PARM_OPTIMIZABLE | PARM_OPTIMIZABLE |
PARM_STATISTICAL, PARM_STATISTICAL,
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
CAPACITANCE_UNIT, // unit CAPACITANCE_UNIT, // unit
prm("StdForm", "1.0 pF") // default value prm("StdForm", "1.0 pF") // default value
), ),
create_parm create_parm
( (
"Temp", // name "Temp", // name
"Temperature", // label "Temperature", // label
PARM_NO_DISPLAY | // attributes PARM_NO_DISPLAY | // attributes
PARM_DOE | PARM_DOE |
PARM_OPTIMIZABLE | PARM_OPTIMIZABLE |
PARM_STATISTICAL, PARM_STATISTICAL,
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
TEMPERATURE_UNIT, // unit TEMPERATURE_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"Trise", // name "Trise", // name
"Temperature rise over ambient", // label "Temperature rise over ambient", // label
PARM_NO_DISPLAY | // attributes PARM_NO_DISPLAY | // attributes
PARM_DOE | PARM_DOE |
PARM_OPTIMIZABLE | PARM_OPTIMIZABLE |
PARM_STATISTICAL, PARM_STATISTICAL,
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
TEMPERATURE_UNIT, // unit TEMPERATURE_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"Tnom", // name "Tnom", // name
"Nominal temperature", // label "Nominal temperature", // label
PARM_NO_DISPLAY | // attributes PARM_NO_DISPLAY | // attributes
PARM_DOE | PARM_DOE |
PARM_OPTIMIZABLE | PARM_OPTIMIZABLE |
PARM_STATISTICAL, PARM_STATISTICAL,
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
TEMPERATURE_UNIT, // unit TEMPERATURE_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"TC1", // name "TC1", // name
"Temperature coefficient; per degree Celsius", // label "Temperature coefficient; per degree Celsius", // label
PARM_NO_DISPLAY | // attributes PARM_NO_DISPLAY | // attributes
PARM_DOE | PARM_DOE |
PARM_OPTIMIZABLE | PARM_OPTIMIZABLE |
PARM_STATISTICAL, PARM_STATISTICAL,
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
UNITLESS_UNIT, // unit UNITLESS_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"TC2", // name "TC2", // name
"Temperature coefficient; per degree Celsius squared", // label "Temperature coefficient; per degree Celsius squared", // label
PARM_NO_DISPLAY | // attributes PARM_NO_DISPLAY | // attributes
PARM_DOE | PARM_DOE |
PARM_OPTIMIZABLE | PARM_OPTIMIZABLE |
PARM_STATISTICAL, PARM_STATISTICAL,
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
UNITLESS_UNIT, // unit UNITLESS_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"wBV", // name "wBV", // name
"Breakdown voltage (warning)", // label "Breakdown voltage (warning)", // label
PARM_NO_DISPLAY, // attributes PARM_NO_DISPLAY, // attributes
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
UNITLESS_UNIT, // unit UNITLESS_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"InitCond", // name "InitCond", // name
"Initial condition for transient analysis", // label "Initial condition for transient analysis", // label
PARM_NO_DISPLAY, // attributes PARM_NO_DISPLAY, // attributes
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
UNITLESS_UNIT, // unit UNITLESS_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"Model", // name "Model", // name
"Model instance name", // label "Model instance name", // label
PARM_NO_DISPLAY, // attributes PARM_NO_DISPLAY, // attributes
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
UNITLESS_UNIT, // unit UNITLESS_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"Width", // name "Width", // name
"Width, refer to the model", // label "Width, refer to the model", // label
PARM_NO_DISPLAY | // attributes PARM_NO_DISPLAY | // attributes
PARM_DOE | PARM_DOE |
PARM_OPTIMIZABLE | PARM_OPTIMIZABLE |
PARM_STATISTICAL, PARM_STATISTICAL,
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
UNITLESS_UNIT, // unit UNITLESS_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"Length", // name "Length", // name
"Length, refer to the model", // label "Length, refer to the model", // label
PARM_NO_DISPLAY | // attributes PARM_NO_DISPLAY | // attributes
PARM_DOE | PARM_DOE |
PARM_OPTIMIZABLE | PARM_OPTIMIZABLE |
PARM_STATISTICAL, PARM_STATISTICAL,
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
UNITLESS_UNIT, // unit UNITLESS_UNIT, // unit
prm("StdForm", "") // default value prm("StdForm", "") // default value
), ),
create_parm create_parm
( (
"_M", // name "_M", // name
"Number of devices in parallel, (default: 1)", // label "Number of devices in parallel, (default: 1)", // label
PARM_NO_DISPLAY, // attributes PARM_NO_DISPLAY, // attributes
"StdFileFormSet", // formSet "StdFileFormSet", // formSet
UNITLESS_UNIT, // unit UNITLESS_UNIT, // unit
prm("StdForm", "1") // default value prm("StdForm", "1") // default value
) )
); );