/// <summary> /// Initializes a new instance of the <see cref="Mosfet1"/> class. /// </summary> /// <param name="name">The name.</param> /// <param name="d">The drain node.</param> /// <param name="g">The gate node.</param> /// <param name="s">The source node.</param> /// <param name="b">The bulk node.</param> /// <param name="model">The mosfet model.</param> public Mosfet1(string name, string d, string g, string s, string b, Mosfet1Model model) : this(name) { Connect(d, g, s, b); Model = model; }
/// <summary> /// Set the model for the MOS1 Mosfet /// </summary> public void SetModel(Mosfet1Model model) => Model = model;