message_ix_models.model.buildings.sturm.METHOD

class message_ix_models.model.buildings.sturm.METHOD(*values)[source]

Bases: Enum

Method for invoking STURM and other message-ix-buildings code.

__init__()[source]

Attributes

RPY2

Invoke STURM using rpy2.

RSCRIPT_A

Invoke run_STURM.R using Rscript.

RSCRIPT_B

Invoke STURM and other scripts from RSCRIPT_B_FILES, using Rscript.

RPY2 = 1[source]

Invoke STURM using rpy2.

RSCRIPT_A = 2[source]

Invoke run_STURM.R using Rscript. This is an older method used prior to 2026. It may not may still be supported by the version of run_STURM.R on the main branch of message-ix-buildings.

RSCRIPT_B = 3[source]

Invoke STURM and other scripts from RSCRIPT_B_FILES, using Rscript. This method was developed in 2026 for use in the NGFS and CircEUlar projects, and corresponds to changes on the message-ix-buildings {NAME} branch.