- RailNetwork: nodi, archi con profilo campionato, divisione degli archi agli agganci (anche in cantiere), indice spaziale, cavalcavia sui binari altrui - Comandi: binari, stazioni, depositi, segnali, demolizioni, rinnovi, ammodernamenti, veicoli, composizioni, linee, assegnazioni, rientro - ConstructionSystem: squadre per livello, avanzamento, usura dei binari e invecchiamento delle strutture; costi d'esercizio e valore contabile - TrainSystem: A* con vincolo di svolta, prenotazione a blocchi con catena fino a un punto sicuro sul binario semplice, fisica 8.4, stallo in salita - StationSystem e StationWork: bacini, merci con destinazione sul grafo delle linee, carico sui carri, consegne con tariffa, trasbordi - Salvataggi estesi a tutto lo stato ferroviario; 11 nuovi test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0191R7vXgtbAvSV4V8tj8uzL
105 lines
3.1 KiB
JSON
105 lines
3.1 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
|
|
},
|
|
"stations": {
|
|
"catchmentKm": 2.0,
|
|
"areaRadiusM": 120,
|
|
"maxPlatforms": 8,
|
|
"snapM": 60,
|
|
"freightUnitsPerMinutePerWagon": 2.0,
|
|
"paxPerMinutePerCoach": 12,
|
|
"minDwellMinutes": 3,
|
|
"upkeepPerPlatformPerYear": 60000,
|
|
"depotUpkeepPerYear": { "small": 120000, "medium": 240000, "large": 480000 }
|
|
},
|
|
"operations": {
|
|
"maxVehiclesPerTrain": 24,
|
|
"maxTurnDeg": 100,
|
|
"lookaheadMarginM": 60,
|
|
"waitWarningDays": 20,
|
|
"defaultMaxWaitDays": 2
|
|
},
|
|
"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
|
|
}
|
|
}
|