PRASFiles.read_attrs
— MethodReads additional user defined metadata from the file containing the PRAS system, Input here is filehandle.
PRASFiles.read_attrs
— MethodReads user defined metadata from the file containing the PRAS system.
PRASFiles.savemodel
— Methodsavemodel(sys::SystemModel, outfile::String) -> nothing
Export a PRAS SystemModel sys
as a .pras file, saved to outfile
PRASFiles.saveshortfall
— Methodsaveshortfall(
shortfall::AbstractShortfallResult,
pras_sys::SystemModel,
outfile::String,
)
Save ShortfallResult or ShortfallSample Result in JSON format. Only aggregate system and region level results are exported. Sample level results are not exported..
Arguments
- `shortfall::AbstractShortfallResult`: ShortfallResult (or) ShortfallSamplesResult
- `pras_sys::SystemModel`: PRAS SystemModel
- `outfile::String`: Location to save the ShortfallResult
Returns
- Location where ShortfallResult (or) ShortfallSamplesResult is exported in JSON format.