Skip to main content

FileManifest

Struct FileManifest 

Source
pub struct FileManifest {
Show 43 fields pub config_json: bool, pub penalties_json: bool, pub stages_json: bool, pub initial_conditions_json: bool, pub post_study_stages_json: bool, pub system_buses_json: bool, pub system_lines_json: bool, pub system_hydros_json: bool, pub system_thermals_json: bool, pub system_non_controllable_sources_json: bool, pub system_pumping_stations_json: bool, pub system_energy_contracts_json: bool, pub system_hydro_geometry_parquet: bool, pub system_hydro_production_models_json: bool, pub system_fpha_hyperplanes_parquet: bool, pub system_hydro_energy_productivity_parquet: bool, pub system_tailrace_curves_parquet: bool, pub scenarios_inflow_history_parquet: bool, pub scenarios_inflow_seasonal_stats_parquet: bool, pub scenarios_inflow_ar_coefficients_parquet: bool, pub scenarios_inflow_annual_component_parquet: bool, pub scenarios_external_inflow_scenarios_parquet: bool, pub scenarios_external_load_scenarios_parquet: bool, pub scenarios_external_ncs_scenarios_parquet: bool, pub scenarios_load_seasonal_stats_parquet: bool, pub scenarios_load_factors_json: bool, pub scenarios_correlation_json: bool, pub scenarios_non_controllable_factors_json: bool, pub scenarios_non_controllable_stats_parquet: bool, pub constraints_thermal_bounds_parquet: bool, pub constraints_hydro_bounds_parquet: bool, pub constraints_line_bounds_parquet: bool, pub constraints_pumping_bounds_parquet: bool, pub constraints_contract_bounds_parquet: bool, pub constraints_generic_constraints_json: bool, pub constraints_generic_constraint_bounds_parquet: bool, pub constraints_generic_parameters_json: bool, pub constraints_penalty_overrides_bus_parquet: bool, pub constraints_penalty_overrides_line_parquet: bool, pub constraints_penalty_overrides_hydro_parquet: bool, pub constraints_penalty_overrides_ncs_parquet: bool, pub constraints_ncs_bounds_parquet: bool, pub constraints_hydro_unit_group_bounds_parquet: bool,
}
Expand description

Records whether each input file (one field per FILE_ENTRIES row) is present in the case directory.

Fields default to false; validate_structure sets each to true if the corresponding file was found on disk.

Fields§

§config_json: bool

config.json — required

§penalties_json: bool

penalties.json — required

§stages_json: bool

stages.json — required

§initial_conditions_json: bool

initial_conditions.json — required

§post_study_stages_json: bool

post_study_stages.json — optional

§system_buses_json: bool

system/buses.json — required

§system_lines_json: bool

system/lines.json — required

§system_hydros_json: bool

system/hydros.json — required

§system_thermals_json: bool

system/thermals.json — required

§system_non_controllable_sources_json: bool

system/non_controllable_sources.json — optional

§system_pumping_stations_json: bool

system/pumping_stations.json — optional

§system_energy_contracts_json: bool

system/energy_contracts.json — optional

§system_hydro_geometry_parquet: bool

system/hydro_geometry.parquet — optional

§system_hydro_production_models_json: bool

system/hydro_production_models.json — optional

§system_fpha_hyperplanes_parquet: bool

system/fpha_hyperplanes.parquet — optional

§system_hydro_energy_productivity_parquet: bool

system/hydro_energy_productivity.parquet — optional

§system_tailrace_curves_parquet: bool

system/tailrace_curves.parquet — optional

§scenarios_inflow_history_parquet: bool

scenarios/inflow_history.parquet — optional

§scenarios_inflow_seasonal_stats_parquet: bool

scenarios/inflow_seasonal_stats.parquet — optional

§scenarios_inflow_ar_coefficients_parquet: bool

scenarios/inflow_ar_coefficients.parquet — optional

§scenarios_inflow_annual_component_parquet: bool

scenarios/inflow_annual_component.parquet — optional

§scenarios_external_inflow_scenarios_parquet: bool

scenarios/external_inflow_scenarios.parquet — optional

§scenarios_external_load_scenarios_parquet: bool

scenarios/external_load_scenarios.parquet — optional

§scenarios_external_ncs_scenarios_parquet: bool

scenarios/external_ncs_scenarios.parquet — optional

§scenarios_load_seasonal_stats_parquet: bool

scenarios/load_seasonal_stats.parquet — optional

§scenarios_load_factors_json: bool

scenarios/load_factors.json — optional

§scenarios_correlation_json: bool

scenarios/correlation.json — optional

§scenarios_non_controllable_factors_json: bool

scenarios/non_controllable_factors.json — optional

§scenarios_non_controllable_stats_parquet: bool

scenarios/non_controllable_stats.parquet — optional

§constraints_thermal_bounds_parquet: bool

constraints/thermal_bounds.parquet — optional

§constraints_hydro_bounds_parquet: bool

constraints/hydro_bounds.parquet — optional

§constraints_line_bounds_parquet: bool

constraints/line_bounds.parquet — optional

§constraints_pumping_bounds_parquet: bool

constraints/pumping_bounds.parquet — optional

§constraints_contract_bounds_parquet: bool

constraints/contract_bounds.parquet — optional

§constraints_generic_constraints_json: bool

constraints/generic_constraints.json — optional

§constraints_generic_constraint_bounds_parquet: bool

constraints/generic_constraint_bounds.parquet — optional

§constraints_generic_parameters_json: bool

constraints/generic_parameters.json — optional

§constraints_penalty_overrides_bus_parquet: bool

constraints/penalty_overrides_bus.parquet — optional

§constraints_penalty_overrides_line_parquet: bool

constraints/penalty_overrides_line.parquet — optional

§constraints_penalty_overrides_hydro_parquet: bool

constraints/penalty_overrides_hydro.parquet — optional

§constraints_penalty_overrides_ncs_parquet: bool

constraints/penalty_overrides_ncs.parquet — optional

§constraints_ncs_bounds_parquet: bool

constraints/ncs_bounds.parquet — optional

§constraints_hydro_unit_group_bounds_parquet: bool

constraints/hydro_unit_group_bounds.parquet — optional

Trait Implementations§

Source§

impl Clone for FileManifest

Source§

fn clone(&self) -> FileManifest

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FileManifest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FileManifest

Source§

fn default() -> FileManifest

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more