From 8ae3258c007c9a8dacb2cb18d38dc59b75b0d50e Mon Sep 17 00:00:00 2001 From: tlbl <tlbl@dtu.dk> Date: Tue, 19 Apr 2016 09:47:26 +0200 Subject: [PATCH] Adding docs to generate-spreadsheet --- docs/generate-spreadsheet.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/generate-spreadsheet.md b/docs/generate-spreadsheet.md index 44caf72..51ca9d4 100644 --- a/docs/generate-spreadsheet.md +++ b/docs/generate-spreadsheet.md @@ -31,3 +31,17 @@ The tags are devided into three possible different categories: * Variables (V). Variables are tags that define the number of cases in a DLC through their combinations, e.g. wind speed, number of turbilence seeds, wind direction, ..; * Functions (F). Functions are tags that depend on other tags through an expression, e.g. turbulence intensity, case name, .... +In each sheet the type of tag is defined in the line above the tag by typing one of the letters C, V, or F. + +Generate the files +------------------ + +To generate the files defining the different DLC the following lines need to be executed: + + export PATH=/home/python/miniconda3/bin:$PATH + source activate wetb_py3 + python /home/MET/repositories/toolbox/WindEnergyToolbox/wetb/prepost/GenerateDLCs.py --folder=DLCs + +the first two lines activate the virtual environment. The third calls the routine *GenerateDLCs.py * that generates the files. +The routine should be called from the folder *htc* where also the master preadsheet *DLCs.xlsx* need to be located. +The generated files are placed in the folder *DLCs*. -- GitLab