- Abbinamento mensile dei pendolari sul LineGraph (60/90 minuti con i tratti a piedi, quote proporzionali ai lavoratori liberi, capacità residua delle linee), pacchetti giornalieri, coperture e scioglimento dei contratti. - LineGraph con maschere dei carichi: merci, lavoratori e personale viaggiano solo su linee i cui treni li possono portare; durata dei giri con le soste di carico e scarico. - Industria servita = merce ritirata o consegnata dal vettore. - Parametri residui spostati in data/*.json. - Test di accettazione F2 sullo scenario Valdoria con tre linee, test del pendolarismo (copertura > 0,9 in 60 giorni, capacità, scioglimento). - viaferrea-tools bench: 2.000 treni, tick medio 0,84 ms. - ADR 0007 e 0008, ARCHITECTURE e STATE aggiornati. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0191R7vXgtbAvSV4V8tj8uzL
110 lines
3.2 KiB
JSON
110 lines
3.2 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,
|
|
"closedSpeedFactor": 0.1,
|
|
"agingYearsToZero": 10
|
|
},
|
|
"stations": {
|
|
"catchmentKm": 2.0,
|
|
"areaRadiusM": 120,
|
|
"maxPlatforms": 8,
|
|
"snapM": 60,
|
|
"freightUnitsPerMinutePerWagon": 5.0,
|
|
"paxPerMinutePerCoach": 30,
|
|
"minDwellMinutes": 3,
|
|
"upkeepPerPlatformPerYear": 60000,
|
|
"depotUpkeepPerYear": { "small": 120000, "medium": 240000, "large": 480000 }
|
|
},
|
|
"operations": {
|
|
"maxVehiclesPerTrain": 24,
|
|
"maxTurnDeg": 100,
|
|
"lookaheadMarginM": 60,
|
|
"waitWarningDays": 20,
|
|
"defaultMaxWaitDays": 2,
|
|
"lineRunTimeMargin": 1.15,
|
|
"defaultLineSpeedKmh": 60
|
|
},
|
|
"physics": {
|
|
"gravity": 9.81,
|
|
"adhesion": 1.0,
|
|
"adhesionFactor": 0.3,
|
|
"rollingResistance": 0.0015,
|
|
"aeroCoefficient": 0.6,
|
|
"cxByKind": { "locomotive": 6.0, "wagon": 1.5, "coach": 1.8 },
|
|
"brakingMs2": 0.5,
|
|
"stallSpeedKmh": 1.0,
|
|
"stallSeconds": 120,
|
|
"passengerMassT": 0.08
|
|
}
|
|
}
|