F2: pendolarismo su rotaia, carichi per linea, accettazione Valdoria e bench
- 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
This commit is contained in:
27 files changed
+953
-84
No files matched your search
+7
-3
@@ -33,7 +33,7 @@
|
||||
"preferredMaxPercentile": { "coal": 0.92, "iron": 1.0, "stone": 0.95, "oil": 0.45 } },
|
||||
"towns": { "countBySize": { "64": 10, "128": 26, "256": 56 }, "minDistanceKm": 6, "maxWaterDistanceKm": 3, "maxSlope": 0.05,
|
||||
"maxHeightPercentile": 0.65, "largestPopulation": [ 11000, 18000 ], "zipfExponent": 0.85, "minPopulation": 500,
|
||||
"radiusBaseCells": 2.0, "radiusPerSqrtPop": 0.025 },
|
||||
"radiusBaseCells": 2.0, "radiusPerSqrtPop": 0.025, "radiusHysteresisCells": 0.25 },
|
||||
"industries": { "countBySize": { "64": 32, "128": 110, "256": 400 }, "initialLevels": [ 1, 2 ],
|
||||
"shares": { "farm": 0.35, "logging": 0.12, "processing": 0.33, "manufacturing": 0.20 }, "placementAttempts": 400,
|
||||
"maxSlope": 0.15, "spacingCells": 1 },
|
||||
@@ -48,7 +48,7 @@
|
||||
"ratioMin": 0.2,
|
||||
"ratioMax": 5.0,
|
||||
"world": { "amplitude": 0.12, "periodYears": 6, "volumeShare": 0.5, "baselinePerDay": 4.0, "elasticity": 1.0,
|
||||
"shockChancePerYear": 0.25, "shockMin": 0.08, "shockMax": 0.30, "shockDecayDays": 150 },
|
||||
"shockChancePerYear": 0.25, "shockMin": 0.08, "shockMax": 0.30, "shockDecayDays": 150, "priceFloor": 0.05 },
|
||||
"historyDays": 360
|
||||
},
|
||||
"localPrice": { "lambda": 0.35, "maxDeviation": 0.40, "epsilon": 1.0 },
|
||||
@@ -99,12 +99,16 @@
|
||||
"initialSatisfaction": 0.5,
|
||||
"stockDays": 20,
|
||||
"workSatisfactionPenalty": 0.05,
|
||||
"workDissatisfactionDecayDays": 90,
|
||||
"demandPriceFactorMin": 0.5,
|
||||
"demandPriceFactorMax": 1.5,
|
||||
"populationMilestone": 10000,
|
||||
"maxPopulation": 2000000
|
||||
},
|
||||
"migration": { "share": 0.01, "satisfactionThreshold": 0.4, "maxDistanceKm": 60, "emigrationShareWhenNoTarget": 0.5 },
|
||||
"employment": { "walkRadiusKm": 1.5, "workerMaxMinutes": 60, "staffMaxMinutes": 90, "coverageEmaDays": 30,
|
||||
"dissolveCoverage": 0.5, "dissolveDays": 90, "walkSpeedKmh": 4.5, "boardDays": 2, "returnBoardDays": 2,
|
||||
"railStartCoverage": 0.5 },
|
||||
"railStartCoverage": 0.5, "lineCapacityUtilization": 0.85 },
|
||||
"localTransport": { "enabled": true, "radiusKm": 3.0, "dailyShare": 0.25, "maxUnitsPerDay": 6 },
|
||||
"hubs": {
|
||||
"port": { "name_it": "Porto", "monthlyCapacity": 3000, "duty": 0.08, "footprint": "large" },
|
||||
|
||||
+10
-5
@@ -70,15 +70,17 @@
|
||||
"missedInspectionWearPerDay": 0.03,
|
||||
"speedLimitBelow": 50,
|
||||
"speedLimitFactor": 0.5,
|
||||
"closeBelow": 15
|
||||
"closeBelow": 15,
|
||||
"closedSpeedFactor": 0.1,
|
||||
"agingYearsToZero": 10
|
||||
},
|
||||
"stations": {
|
||||
"catchmentKm": 2.0,
|
||||
"areaRadiusM": 120,
|
||||
"maxPlatforms": 8,
|
||||
"snapM": 60,
|
||||
"freightUnitsPerMinutePerWagon": 2.0,
|
||||
"paxPerMinutePerCoach": 12,
|
||||
"freightUnitsPerMinutePerWagon": 5.0,
|
||||
"paxPerMinutePerCoach": 30,
|
||||
"minDwellMinutes": 3,
|
||||
"upkeepPerPlatformPerYear": 60000,
|
||||
"depotUpkeepPerYear": { "small": 120000, "medium": 240000, "large": 480000 }
|
||||
@@ -88,7 +90,9 @@
|
||||
"maxTurnDeg": 100,
|
||||
"lookaheadMarginM": 60,
|
||||
"waitWarningDays": 20,
|
||||
"defaultMaxWaitDays": 2
|
||||
"defaultMaxWaitDays": 2,
|
||||
"lineRunTimeMargin": 1.15,
|
||||
"defaultLineSpeedKmh": 60
|
||||
},
|
||||
"physics": {
|
||||
"gravity": 9.81,
|
||||
@@ -99,6 +103,7 @@
|
||||
"cxByKind": { "locomotive": 6.0, "wagon": 1.5, "coach": 1.8 },
|
||||
"brakingMs2": 0.5,
|
||||
"stallSpeedKmh": 1.0,
|
||||
"stallSeconds": 120
|
||||
"stallSeconds": 120,
|
||||
"passengerMassT": 0.08
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user