|
| 1 | +#-*- coding: utf-8 -*- |
| 2 | + |
1 | 3 | from math import sqrt
|
2 | 4 | from textwrap import dedent
|
3 | 5 | import time
|
@@ -233,7 +235,7 @@ def _get_model_schema(additional_properties=False, for_prevalidation=False):
|
233 | 235 | '$ref': '#/definitions/positiveNumber',
|
234 | 236 | 'description': dedent("""
|
235 | 237 | The test mass of the vehicle used in all calculations (kg),
|
236 |
| - as defined in Annex 4.2.1.3.1, pg 94. |
| 238 | + as defined in Annex 4.2.1.3.1, pg 94. |
237 | 239 | """),
|
238 | 240 | },
|
239 | 241 | 'v_max': {
|
@@ -266,7 +268,7 @@ def _get_model_schema(additional_properties=False, for_prevalidation=False):
|
266 | 268 | 'n_idle': {
|
267 | 269 | 'title': 'idling revolutions',
|
268 | 270 | '$ref': '#/definitions/positiveNumber',
|
269 |
| - 'description': 'The idling engine revolutions (Annex 1).', |
| 271 | + 'description': 'The idling engine revolutions (Annex 1).', |
270 | 272 | },
|
271 | 273 | 'n_min': {
|
272 | 274 | 'title': 'minimum engine revolutions',
|
@@ -294,7 +296,7 @@ def _get_model_schema(additional_properties=False, for_prevalidation=False):
|
294 | 296 | 'maxItems': 3,
|
295 | 297 | 'description': dedent("""
|
296 | 298 | The 3 driving resistance coefficients f0, f1, f2,
|
297 |
| - in N, N/(km/h), and N/(km/h)² respectively (Annex 4). |
| 299 | + in N, N/(km/h), and N/(km/h)² respectively (Annex 4). |
298 | 300 |
|
299 | 301 | If not specified, they are determined based on ``test_mass`` from
|
300 | 302 | a pre-calculated regression curve:
|
|
0 commit comments