159 lines
4.3 KiB
Plaintext
159 lines
4.3 KiB
Plaintext
// ----------------------------------------------------------------------------
|
|
//
|
|
// ----------------------------------------------------------------------------
|
|
create_constant_form( "no", "NO", 0, "no", "no" );
|
|
create_constant_form( "yes", "YES", 0, "yes", "yes");
|
|
|
|
create_form_set("NoiseFormSet", "yes", "no");
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// Creating item definition for Inductor
|
|
// ----------------------------------------------------------------------------
|
|
create_item(
|
|
"mr_pas_l", // name
|
|
"Inductor", // description
|
|
"L", // prefix
|
|
0, // attributes
|
|
NULL, // priority
|
|
NULL, // icon name
|
|
standard_dialog, // dialog name
|
|
"", // dialog data
|
|
ComponentNetlistFmt, // netlist format
|
|
"L", // netlist data (not used)
|
|
ComponentAnnotFmt, // display format string
|
|
NULL, // symbol name (not used since 2011)
|
|
NULL, // artwork type (not used since 2011)
|
|
NULL, // artwork data (not used since 2011)
|
|
ITEM_PRIMITIVE_EX, // extra attributes
|
|
|
|
create_parm
|
|
(
|
|
"L", // name
|
|
"Inductance", // label
|
|
PARM_DOE | // attributes
|
|
PARM_OPTIMIZABLE |
|
|
PARM_STATISTICAL,
|
|
"StdFileFormSet", // formSet
|
|
INDUCTANCE_UNIT, // unit
|
|
prm("StdForm", "1.0 nH") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"R", // name
|
|
"Series resistance", // label
|
|
PARM_DOE | // attributes
|
|
PARM_OPTIMIZABLE |
|
|
PARM_STATISTICAL,
|
|
"StdFileFormSet", // formSet
|
|
RESISTANCE_UNIT, // unit
|
|
prm("StdForm", "") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"Temp", // name
|
|
"Temperature", // label
|
|
PARM_NO_DISPLAY | // attributes
|
|
PARM_DOE |
|
|
PARM_OPTIMIZABLE |
|
|
PARM_STATISTICAL,
|
|
"StdFileFormSet", // formSet
|
|
TEMPERATURE_UNIT, // unit
|
|
prm("StdForm", "") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"Trise", // name
|
|
"Temperature rise over ambient", // label
|
|
PARM_NO_DISPLAY | // attributes
|
|
PARM_DOE |
|
|
PARM_OPTIMIZABLE |
|
|
PARM_STATISTICAL,
|
|
"StdFileFormSet", // formSet
|
|
TEMPERATURE_UNIT, // unit
|
|
prm("StdForm", "") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"Tnom", // name
|
|
"Nominal temperature", // label
|
|
PARM_NO_DISPLAY | // attributes
|
|
PARM_DOE |
|
|
PARM_OPTIMIZABLE |
|
|
PARM_STATISTICAL,
|
|
"StdFileFormSet", // formSet
|
|
TEMPERATURE_UNIT, // unit
|
|
prm("StdForm", "") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"TC1", // name
|
|
"Temperature coefficient; per degree Celsius", // label
|
|
PARM_NO_DISPLAY | // attributes
|
|
PARM_DOE |
|
|
PARM_OPTIMIZABLE |
|
|
PARM_STATISTICAL,
|
|
"StdFileFormSet", // formSet
|
|
UNITLESS_UNIT, // unit
|
|
prm("StdForm", "") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"TC2", // name
|
|
"Temperature coefficient; per degree Celsius squared", // label
|
|
PARM_NO_DISPLAY | // attributes
|
|
PARM_DOE |
|
|
PARM_OPTIMIZABLE |
|
|
PARM_STATISTICAL,
|
|
"StdFileFormSet", // formSet
|
|
UNITLESS_UNIT, // unit
|
|
prm("StdForm", "") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"InitCond", // name
|
|
"Initial condition for transient analysis", // label
|
|
PARM_NO_DISPLAY, // attributes
|
|
"StdFileFormSet", // formSet
|
|
UNITLESS_UNIT, // unit
|
|
prm("StdForm", "") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"Noise", // name
|
|
"Temperature coefficient; per degree Celsius squared", // label
|
|
PARM_DISCRETE_VALUE | PARM_NO_DISPLAY, // attributes
|
|
"NoiseFormSet", // formSet
|
|
UNITLESS_UNIT, // unit
|
|
prm("yes") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"Model", // name
|
|
"Model instance name", // label
|
|
PARM_NO_DISPLAY, // attributes
|
|
"StdFileFormSet", // formSet
|
|
UNITLESS_UNIT, // unit
|
|
prm("StdForm", "") // default value
|
|
),
|
|
|
|
create_parm
|
|
(
|
|
"_M", // name
|
|
"Number of devices in parallel, (default: 1)", // label
|
|
PARM_NO_DISPLAY, // attributes
|
|
"StdFileFormSet", // formSet
|
|
UNITLESS_UNIT, // unit
|
|
prm("StdForm", "") // default value
|
|
)
|
|
|
|
);
|