blob: ef1eb82e98fadf656bdeadab0c78028d7ba0760d (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | package Electric
    // This package providestypes, connectors and partial models for the electric domain.
    extends SIunit;
    // Commonly used short names for electric types
    type Current = ElectricCurrent;
    type Charge = ElectricCharge;
    type Voltage = ElectricPotential;
    // Connector types for electric components
    connector Pin "Pin of an electric component"
        Voltage
        v "Potential at the pin";
        flow Current i "Current flowing into the pin";
    end Pin;
end Electric;
 |