message_ix_models.model.transport.testing.simulated_solution

message_ix_models.model.transport.testing.simulated_solution(request, context: Context, build: bool) Reporter[source]

Return a Reporter with a simulated model solution.

The contents allow for performant testing of reporting code, without solving an actual Scenario.

Parameters:

build – If False, do not run transport.build.main(); load data for the built scenario from a file like message_ix_models/data/test/transport/MESSAGEix-Transport R12 YB a1b2c3_baseline.xlsx.