View Javadoc
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    * According to <a href="https://en.wikipedia.org/wiki/Momentum">Wikipedia</a>: Momentum or linear momentum, or translational
10   * momentum is the product of the mass and velocity of an object.
11   * <p>
12   * Copyright (c) 2015-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
13   * BSD-style license. See <a href="https://djunits.org/docs/license.html">DJUNITS License</a>
14   * </p>
15   * @author <a href="https://www.tudelft.nl/averbraeck">Alexander Verbraeck</a>
16   */
17  public class MomentumUnit extends Unit<MomentumUnit>
18  {
19      /** */
20      private static final long serialVersionUID = 20200117L;
21  
22      /** The base, with "kgm/s" as the SI signature. */
23      public static final Quantity<MomentumUnit> BASE = new Quantity<>("Momentum", "kgm/s");
24  
25      /** The SI unit for momentum is kgm/s. */
26      public static final MomentumUnit SI = new MomentumUnit().build(new Unit.Builder<MomentumUnit>().setQuantity(BASE)
27              .setId("kgm/s").setName("kilogram meter per second").setUnitSystem(UnitSystem.SI_DERIVED)
28              .setSiPrefixes(SIPrefixes.NONE, 1.0).setScale(IdentityScale.SCALE).setAdditionalAbbreviations("kgm/sec"));
29  
30      /** kgm/s. */
31      public static final MomentumUnit KILOGRAM_METER_PER_SECOND = SI;
32  
33  }