Execute aggregate cargo economics descriptors
This commit is contained in:
parent
51a7bbd756
commit
f623c6dcc9
18 changed files with 1599 additions and 63 deletions
|
|
@ -55,10 +55,22 @@ def classify(row: dict[str, object]) -> dict[str, object]:
|
|||
runtime_key = normalize_world_scalar_key(label)
|
||||
runtime_status = "executable"
|
||||
executable_in_runtime = True
|
||||
elif 105 <= descriptor_id <= 176:
|
||||
elif descriptor_id == 105:
|
||||
parameter_family = "cargo_price_scalar"
|
||||
elif 177 <= descriptor_id <= 240:
|
||||
runtime_status = "executable"
|
||||
executable_in_runtime = True
|
||||
elif 106 <= descriptor_id <= 176:
|
||||
parameter_family = "cargo_price_scalar"
|
||||
elif 177 <= descriptor_id <= 179:
|
||||
parameter_family = "cargo_production_scalar"
|
||||
runtime_status = "executable"
|
||||
executable_in_runtime = True
|
||||
elif 180 <= descriptor_id <= 229:
|
||||
parameter_family = "cargo_production_scalar"
|
||||
elif 230 <= descriptor_id <= 240:
|
||||
parameter_family = "cargo_production_scalar"
|
||||
runtime_status = "executable"
|
||||
executable_in_runtime = True
|
||||
elif 241 <= descriptor_id <= 351 or 457 <= descriptor_id <= 474:
|
||||
parameter_family = "locomotive_availability_scalar"
|
||||
elif 352 <= descriptor_id <= 451 or 475 <= descriptor_id <= 502:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue