- TrackGeometry: polilinea raccordata con il raggio della classe - TrackPlanner: campioni ogni 25 m, due passate di pendenza, smussatura, franchi sui fiumi, classificazione delle opere, costi, giorni, vincoli per era (campate per classe di fiume, lunghezza delle gallerie) - Scenari a mano (ScenarioLoader) e tests/scenarios/valdoria.json - viaferrea-tools profile; industrie al prezzo globale; servizi di base Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0191R7vXgtbAvSV4V8tj8uzL
87 lines
2.6 KiB
JSON
87 lines
2.6 KiB
JSON
{
|
|
"$schema": "schema/construction.schema.json",
|
|
"version": 1,
|
|
"profile": {
|
|
"sampleSpacingM": 25,
|
|
"heightOffsetRangeM": 20,
|
|
"smoothingWindow": 5,
|
|
"naturalToleranceM": 1.5,
|
|
"embankmentMaxM": 8,
|
|
"cuttingMaxM": 8,
|
|
"riverClearanceM": 6,
|
|
"navigableClearanceM": 12,
|
|
"navigableMinWidthCells": 3,
|
|
"riverWidthMByClass": [ 30, 60, 120, 250 ],
|
|
"snapAngleDeg": 45
|
|
},
|
|
"maxGradientByTraction": { "steam": 0.025, "diesel": 0.035, "electric": 0.04, "highspeed": 0.035 },
|
|
"speedClasses": [
|
|
{ "trackClass": "c60", "minRadiusM": 200, "costMultiplier": 1.0 },
|
|
{ "trackClass": "c100", "minRadiusM": 400, "costMultiplier": 1.4 },
|
|
{ "trackClass": "c160", "minRadiusM": 900, "costMultiplier": 2.2 },
|
|
{ "trackClass": "c250", "minRadiusM": 2500, "costMultiplier": 4.0 }
|
|
],
|
|
"curveSpeedFactor": 0.65,
|
|
"costs": {
|
|
"basePerMeter": 1200,
|
|
"natural": 1.0,
|
|
"embankmentPerM": 0.25,
|
|
"cuttingPerM": 0.35,
|
|
"bridgeBase": 6.0,
|
|
"bridgePerM": 0.5,
|
|
"tunnel": 12.0,
|
|
"terrainModifiers": { "rock": 1.8, "marsh": 1.6, "mountain": 1.4, "forest": 1.15 },
|
|
"land": { "basePerCell": 20000, "nearTownKm": 2.0, "nearTownMultiplier": 3.0, "fieldMultiplier": 2.0 },
|
|
"doubleTrackMultiplier": 1.8,
|
|
"electrificationExtra": 0.35,
|
|
"stationBase": 4000000,
|
|
"stationPerPlatform": 1500000,
|
|
"depotBySize": { "small": 6000000, "medium": 12000000, "large": 24000000 },
|
|
"demolitionRefund": 0.1
|
|
},
|
|
"crews": {
|
|
"metersPerDay": { "natural": 200, "embankment": 60, "cutting": 60, "bridge": 20, "tunnel": 8 },
|
|
"crewsByTier": [ 2, 4, 8, 12, 20 ],
|
|
"upgradeClosure": true
|
|
},
|
|
"rules": {
|
|
"forbidTownFootprint": true,
|
|
"forbidIndustryFootprint": true,
|
|
"forbidForeignStations": true,
|
|
"foreignCrossingNeedsOverpass": true,
|
|
"overpassClearanceM": 7
|
|
},
|
|
"trackWear": {
|
|
"k": 400000,
|
|
"gradientWeight": 8,
|
|
"speedWeight": 0.4,
|
|
"maintenanceDriftPerDay": 0.02,
|
|
"maintenanceCostPerKmPerDay": 400,
|
|
"limitBelow60": 0.6,
|
|
"limitBelow30": 0.3,
|
|
"failureChanceBelow30": 0.002,
|
|
"renewalCostShare": 0.4,
|
|
"renewalDaysPerKm": 3
|
|
},
|
|
"structures": {
|
|
"inspectionCostShare": 0.01,
|
|
"inspectionIntervalDays": 360,
|
|
"renewalYears": 50,
|
|
"missedInspectionWearPerDay": 0.03,
|
|
"speedLimitBelow": 50,
|
|
"speedLimitFactor": 0.5,
|
|
"closeBelow": 15
|
|
},
|
|
"physics": {
|
|
"gravity": 9.81,
|
|
"adhesion": 0.3,
|
|
"adhesionFactor": 0.3,
|
|
"rollingResistance": 0.0015,
|
|
"aeroCoefficient": 0.6,
|
|
"cxByKind": { "locomotive": 0.0025, "wagon": 0.0012, "coach": 0.0015 },
|
|
"brakingMs2": 0.5,
|
|
"stallSpeedKmh": 1.0,
|
|
"stallSeconds": 120
|
|
}
|
|
}
|