diff --git a/circuit/ael/mr/mr_capacitor.ael b/circuit/ael/mr/mr_capacitor.ael index 9d6d315..0b4c9a7 100644 --- a/circuit/ael/mr/mr_capacitor.ael +++ b/circuit/ael/mr/mr_capacitor.ael @@ -1,164 +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 - ) - +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 + ) + );