1 package org.djunits.unit;
2
3 import org.djunits.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
17 public class MagneticFluxUnit extends Unit<MagneticFluxUnit>
18 {
19
20 private static final long serialVersionUID = 20190830;
21
22
23 public static final Quantity<MagneticFluxUnit> BASE = new Quantity<>("MagneticFlux", "kgm2/s2A");
24
25
26 public static final MagneticFluxUnit SI =
27 new MagneticFluxUnit().build(new Unit.Builder<MagneticFluxUnit>().setQuantity(BASE).setId("Wb").setName("weber")
28 .setUnitSystem(UnitSystem.SI_DERIVED).setSiPrefixes(SIPrefixes.UNIT, 1.0).setScale(IdentityScale.SCALE));
29
30
31 public static final MagneticFluxUnit WEBER = SI;
32
33
34 public static final MagneticFluxUnit MILLIWEBER = WEBER.deriveLinear(1.0E-3, "mWb", "milliweber");
35
36
37 public static final MagneticFluxUnit MICROWEBER =
38 WEBER.deriveLinear(1.0E-6, "muWb", "microweber", UnitSystem.SI_DERIVED, "muWb", "muWb", "\u03BCWb");
39
40
41 public static final MagneticFluxUnit NANOWEBER = WEBER.deriveLinear(1.0E-9, "nWb", "nanoweber");
42
43
44 public static final MagneticFluxUnit MAXWELL = WEBER.deriveLinear(1.0E-8, "Mx", "Maxwell", UnitSystem.CGS);
45
46 }