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 EquivalentDoseUnit extends Unit<EquivalentDoseUnit>
18 {
19
20
21 private static final long serialVersionUID = 20190830;
22
23
24 public static final Quantity<EquivalentDoseUnit> BASE = new Quantity<>("EquivalentDose", "m2/s2");
25
26
27 public static final EquivalentDoseUnit SI = new EquivalentDoseUnit()
28 .build(new Unit.Builder<EquivalentDoseUnit>().setQuantity(BASE).setId("Sv").setName("sievert")
29 .setUnitSystem(UnitSystem.SI_DERIVED).setSiPrefixes(SIPrefixes.UNIT, 1.0).setScale(IdentityScale.SCALE));
30
31
32 public static final EquivalentDoseUnit SIEVERT = SI;
33
34
35 public static final EquivalentDoseUnit MILLISIEVERT = SIEVERT.deriveSI(SIPrefixes.getUnit("m"), 1.0);
36
37
38 public static final EquivalentDoseUnit MICROSIEVERT = SIEVERT.deriveSI(SIPrefixes.getUnit("mu"), 1.0);
39
40
41 public static final EquivalentDoseUnit REM = SIEVERT.deriveLinear(0.01, "rem", "rem", UnitSystem.CGS);
42
43 }