library ieee; use ieee.electrical_systems.all; entity inductor is port (terminal n1, n2: electrical); end entity inductor; ---------------------------------------------------------------- architecture integral_form of inductor is constant L: inductance := 0.5; quantity branch_voltage across branch_current through n1 to n2; begin branch_current == branch_voltage'integ / L; end architecture integral_form;