# NML:Units

From GRFSpecs

Vehicles, Stations, Canals, Bridges, Towns, Houses, Industries (Tiles), Cargos, Airports+Tiles, Objects, Railtypes, Terrain

**Units**

No subpages in this chapter.

Units can be used for values of speed, power and weight. See below for an example on their usage. Refer to the table for an overview of supported units.

item(FEAT_TRAINS, some_train) { property { speed: 120 km/h; } }

Type | Unit string | SI Equivalent |
---|---|---|

Speed | m/s | - |

Speed | km/h | 1 km/h = 0.2778 m/s |

Speed | mph | 1 mph = 0.4470 m/s |

Power | kW | - |

Power | hp | 1 hp = 0.7457 kW (Imperial) |

Power | hpI | 1 hpI = 0.7457 kW (Imperial) |

Power | hpM | 1 hpM = 0.7355 kW (Metric) |

Weight | kg | - |

Weight | ton | 1000 kg |

Weight | tons | 1000 kg |