API reference
TransportNetworkWelfare.initialize_project — Function
Create a runnable generic CSV/TOML project from a bundled model template.
TransportNetworkWelfare.load_project — Function
Load and type-check a schema-versioned project configuration.
TransportNetworkWelfare.validate — Function
Validate input schemas, accounting identities, route contraction, and model regularity.
TransportNetworkWelfare.build_model — Function
Load project data and build the common route-modal-congestion closure system.
TransportNetworkWelfare.welfare_effects — Function
Compute directed-arc and physical-link welfare effects under the full closure.
TransportNetworkWelfare.decompose_welfare — Function
Compute the exact closure ladder and analytical welfare decomposition.
TransportNetworkWelfare.sensitivity_path — Function
Trace the mean local welfare effect while changing one declared parameter.
TransportNetworkWelfare.load_policy_bundles — Function
Load a sparse set of coordinated primitive-cost shocks from CSV.
TransportNetworkWelfare.bundle_welfare_effects — Function
Aggregate directed welfare derivatives into declared coordinated policy bundles.
TransportNetworkWelfare.write_results — Function
Write result CSVs, diagnostics, and an optional run manifest.
TransportNetworkWelfare.EconomicGeography — Type
Economic-geography model with mobile labor and trade in differentiated goods.
TransportNetworkWelfare.UrbanCommuting — Type
Allen-Arkolakis urban model with separate residence and workplace choices.
TransportNetworkWelfare.ChoiceLogsum — Type
Economically standard negative-power mode-choice logsum.
TransportNetworkWelfare.ComponentCES — Type
Legacy positive-power component index used by the audited July 2026 RSUE package.
TransportNetworkWelfare.urban_finite_difference — Function
Nonlinear central finite-difference check using the independent one-mode oracle.
TransportNetworkWelfare.urban_multimodal_finite_difference — Function
Independent nonlinear central finite difference for one urban policy edge-mode.
A primitive shock enters the modal cost fixed point. A realized shock instead holds fixed the induced aggregate edge-cost change. This compensated perturbation is the nonlinear counterpart of the realized-cost forcing B*Sagg*e_p; congestion still responds to the urban state, but does not alter the imposed realized shock.