1 package org.djunits.unit;
2
3 import org.djunits.unit.quantity.Quantity;
4 import org.djunits.unit.scale.IdentityScale;
5 import org.djunits.unit.si.SIPrefixes;
6 import org.djunits.unit.unitsystem.UnitSystem;
7
8
9
10
11
12
13
14
15
16 public class ElectricalCurrentUnit extends Unit<ElectricalCurrentUnit>
17 {
18
19 private static final long serialVersionUID = 20140607L;
20
21
22 public static final Quantity<ElectricalCurrentUnit> BASE = new Quantity<>("ElectricalCurrent", "A");
23
24
25 public static final ElectricalCurrentUnitl#ElectricalCurrentUnit">ElectricalCurrentUnit SI = new ElectricalCurrentUnit()
26 .build(new Unit.Builder<ElectricalCurrentUnit>().setQuantity(BASE).setId("A").setName("ampere")
27 .setUnitSystem(UnitSystem.SI_BASE).setSiPrefixes(SIPrefixes.UNIT, 1.0).setScale(IdentityScale.SCALE));
28
29
30 public static final ElectricalCurrentUnit AMPERE = SI;
31
32
33 public static final ElectricalCurrentUnit MICROAMPERE = AMPERE.deriveSI(SIPrefixes.getUnit("mu"), 1.0);
34
35
36 public static final ElectricalCurrentUnit MILLIAMPERE = AMPERE.deriveSI(SIPrefixes.getUnit("m"), 1.0);
37
38
39 public static final ElectricalCurrentUnit KILOAMPERE = AMPERE.deriveSI(SIPrefixes.getUnit("k"), 1.0);
40
41
42 public static final ElectricalCurrentUnit MEGAAMPERE = AMPERE.deriveSI(SIPrefixes.getUnit("M"), 1.0);
43
44
45 public static final ElectricalCurrentUnit STATAMPERE =
46 AMPERE.deriveLinear(3.335641E-10, "statA", "statampere", UnitSystem.CGS_ESU);
47
48
49 public static final ElectricalCurrentUnit ABAMPERE = AMPERE.deriveLinear(10.0, "abA", "abampere", UnitSystem.CGS_EMU);
50
51 }