Closed ddement closed 1 month ago
@faisal-bhuiyan -- any updates here?
No significant process; @faisal-bhuiyan discussing idea of using python dictionary generated outside openturbine from the yaml file.
Discussing python vs yaml-cpp here ... but want to stick with lightweight, robust, TPLs
Faisal plans to have progress by next week.
Working on implementing a logic to read yaml-based windIO input file using the yaml-cpp library and validating it (in a similar way done here) using the yaml schema validation library.
Added yaml-cpp to OpenTurbine and added logic to read a yaml node from an input file. This task assumes a prerequisite, i.e. existence of OpenTurbine input data structures to contain the turbine information (not trivial) -- adding an issue for it.
This is 70% done -- imported the Structs based off windIO schema and added method to instantiate them. Need to wrap up this work by automating the parse
method creation via the Python script.
Task: Create a class which takes in a .yaml file in the WindIO format and parses it (probably using yaml-cpp) to define a wind turbine.
Why: OpenTurbine needs to be able to read an input file from disk to receive user input.
Done means: A yaml-based WindIO input file can be read and parsed successfully (does not include creating any of the OpenTurbine data structures however).