diff --git a/circuit/ael/mr/mr_capacitor.ael b/circuit/ael/mr/mr_capacitor.ael new file mode 100644 index 0000000..9d6d315 --- /dev/null +++ b/circuit/ael/mr/mr_capacitor.ael @@ -0,0 +1,164 @@ +// ---------------------------------------------------------------------------- +// Creating item definition for Capacitor +// ---------------------------------------------------------------------------- +create_item( + "mr_pas_c", // name + "Capacitor", // description + "C", // prefix + 0, // attributes + NULL, // priority + NULL, // icon name + standard_dialog, // dialog name + "", // dialog data + ComponentNetlistFmt, // netlist format + "C", // model name + 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 + ( + "C", // name + "Capacitance", // label + PARM_DOE | // attributes + PARM_OPTIMIZABLE | + PARM_STATISTICAL, + "StdFileFormSet", // formSet + CAPACITANCE_UNIT, // unit + prm("StdForm", "1.0 pF") // 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 + ( + "wBV", // name + "Breakdown voltage (warning)", // label + PARM_NO_DISPLAY, // attributes + "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 + ( + "Model", // name + "Model instance name", // label + PARM_NO_DISPLAY, // attributes + "StdFileFormSet", // formSet + UNITLESS_UNIT, // unit + prm("StdForm", "") // default value + ), + + create_parm + ( + "Width", // name + "Width, refer to the model", // label + PARM_NO_DISPLAY | // attributes + PARM_DOE | + PARM_OPTIMIZABLE | + PARM_STATISTICAL, + "StdFileFormSet", // formSet + UNITLESS_UNIT, // unit + prm("StdForm", "") // default value + ), + + create_parm + ( + "Length", // name + "Length, refer to the model", // label + PARM_NO_DISPLAY | // attributes + PARM_DOE | + PARM_OPTIMIZABLE | + PARM_STATISTICAL, + "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", "1") // default value + ) + +); diff --git a/circuit/ael/mr/mr_inductor.ael b/circuit/ael/mr/mr_inductor.ael new file mode 100644 index 0000000..aa76d77 --- /dev/null +++ b/circuit/ael/mr/mr_inductor.ael @@ -0,0 +1,158 @@ +// ---------------------------------------------------------------------------- +// +// ---------------------------------------------------------------------------- +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 + ) + +); diff --git a/de/ael/boot.ael b/de/ael/boot.ael index 1a8689f..3d9fdda 100644 --- a/de/ael/boot.ael +++ b/de/ael/boot.ael @@ -41,6 +41,8 @@ else // ---------------------------------------------------------------------------- load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mrmodels_include")); +load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr/mr_capacitor" )); +load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr/mr_inductor" )); load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr/mr_resistor" )); load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr/mr_bjt" )); load( strcat( MRMODELS_DIR_CIRCUIT_AEL, "mr/mr_jfet" )); diff --git a/mrModels/mr_pas_c/symbol/master.tag b/mrModels/mr_pas_c/symbol/master.tag new file mode 100644 index 0000000..e1024da --- /dev/null +++ b/mrModels/mr_pas_c/symbol/master.tag @@ -0,0 +1,2 @@ +-- Master.tag File, Rev:1.0 +symbol.oa diff --git a/mrModels/mr_pas_c/symbol/symbol.oa b/mrModels/mr_pas_c/symbol/symbol.oa new file mode 100644 index 0000000..0b91be6 Binary files /dev/null and b/mrModels/mr_pas_c/symbol/symbol.oa differ diff --git a/mrModels/mr_pas_l/symbol/master.tag b/mrModels/mr_pas_l/symbol/master.tag new file mode 100644 index 0000000..e1024da --- /dev/null +++ b/mrModels/mr_pas_l/symbol/master.tag @@ -0,0 +1,2 @@ +-- Master.tag File, Rev:1.0 +symbol.oa diff --git a/mrModels/mr_pas_l/symbol/symbol.oa b/mrModels/mr_pas_l/symbol/symbol.oa new file mode 100644 index 0000000..337222d Binary files /dev/null and b/mrModels/mr_pas_l/symbol/symbol.oa differ