pub fn write_dir(
net: &BalancedNetwork,
to: &str,
out_dir: impl AsRef<Path>,
) -> Result<Vec<String>>Expand description
Write net into out_dir as the named directory format. This function
dispatches directory format names for the bindings. PyPSA CSV
(pypsa-csv/pypsa) is the one such
format today; a text format name is rejected by name, pointing at
write_as. Returns the write’s fidelity warnings.
§Errors
Error::UnknownFormat for a non-directory format name; the writer’s own
Error otherwise.