Previous topic

lca_writer.data.load_data

Next topic

lca_writer.LCAWriter.lca_12_2

This Page

lca_writer.LCAWriter

class lca_writer.LCAWriter(path)[source]

A class capable of loading form data and writing and LCA file.

Parameters:
path : str

Path to the form.

Attributes:
path : str

Path to the form.

load_cases : data frame

A data frame of loaded load cases.

Methods

lca_12_2() Returns an LCA file version 12.2 string.
load_data(path) Loads the data at the specified path and assigns it to the object.
save_template(path) Saves a copy of the Excel template form to the specified path.
write_lca([path, version]) Writes and LCA file of the specified version to the path.