Conversation
|
Proposal: Index of parameters (alphabetical) instead of list for each energyAsset type. Parameter
|
|
@mahendrark I converted this to draft, as it is not ready to be merged. |
|
can you please check the parameters docs and let me know if this is how you wanted the parameters to appear ? |
smartie2076
left a comment
There was a problem hiding this comment.
You can see the compiled rst file here (updates after about 5 Minutes)
Formatting stuff
Co-authored-by: smartie2076 <[email protected]>
|
Can you tell me how to address the Common Parameters in the CSV/JSON files and in energyConversion.csv ? Should I move them all to their respective columns or keep them as it is now? |
Not sure what you mean with "calendars", but I was thinking of having an alphabetically sorted list of parameters in the file now (aka a parameter index). Another file (or in the same file in the head section) we then can simply enumerate the all inputs for each parameter group, and we add links to the respective entries in the parameter index. That way, we do not have to define a parameter multiple times. |
|
Hi @mahendrark! Can you tell me how far you got with this PR? We are aiming to close all PR asap. |
|
@mahendrark do you compile locally with |
There was a problem hiding this comment.
"Parameters and Definitions in CSVs/JSON" and "Parameters in each CSV file" seems to be two different sections according to the navigation bar (see picture)

However they appear on the same page. This might be due to the incorrect use of *** for title of subsections (instead of ---)
The number of -/*/= below a subsection/chapter/section's title should always match the number of characters of the title, this is not the case
I think we could separate the different definitions using ---- (4 times exactly and line breaks before and after), this will render as an horizontal line :)
Btw, this PR claims to fix #269, but it does not address any of the two points described in the description of #269, I would remove the mention "fix" to replace it with "addresses part of" so that the issue is not closed when we merge this PR :)
|
Looking at the structure of the sections in readthedocs, I think there might be improvments:
I would then link the csv names under "Csv files: csv_elements folder" to the "Parameters in each CSV file" section and keep the same order of csv file names. |
smartie2076
left a comment
There was a problem hiding this comment.
You need to add a changelog entry.
Just a few comments, I did not check all definitions.
You can also check the formatting here: https://mvs-eland.readthedocs.io/en/improve-docs/MVS_parameters.html#
+1
+1 Eventhough the file will get really, really long. Will need to work out the correct section heads then. Maybe we also need to merge other currently seperate .rst files.
I am not quite sure what you mean with that. |
Co-authored-by: smartie2076 <[email protected]>
We can use |
Under the section heading "Simulating with the MVS/Input files/Csv files: csv_elements folder" we list the csv files in csv_element folder. We also do so in "Parameters in each CSV file", but not with the same order. I would go for alphabetical order as it is displayed in the |
Yes, there are 18 warnings that not related to the code in the file that I am working on. For example: |
I think this should be done in another PR since this one only addresses the parameters of MVS and not broader documentation. |
|
@Bachibouzouk if you think the file is correct from the sphinx viewpoint, I would say we merge it and I fix the definitions if necessary in a new PR. Can you check the latest commits? |
| :Type: Numeric | ||
| :Unit: currency | ||
| :Example: 10000 | ||
| :Restrictions: Positive real numbers |
There was a problem hiding this comment.
| :Restrictions: Positive real numbers | |
| :Restrictions: Positive real number |
| **cost_om**: Specific annual OPEX of the asset (€/kW/year) | ||
| :Definition: Stands for Demand Side Management. Currently, not implemented. | ||
| :Type: str | ||
| :Unit: Boolean value |
There was a problem hiding this comment.
@smartie2076
I find the fields describing a parameter would require a definition and a list of possible values as well. It is hard to understand what is a :Unit: in this example:
What is a Boolean value as a :Unit:. Shouln't :Type: be boolean and :Unit: be None?
| **energyVector**: Energy commodity. E.g.: Electricity, heat, bio-gas, etc. | ||
| :Definition: Ratio of energy output/energy input. The battery efficiency is the ratio of the energy taken out from the battery, to the energy put in the battery. It means that it is not possible to retrieve as much energy as provided to the battery due to the discharge losses. The efficiency of the "input power" and "ouput power" columns should be set equal to the charge and dischage efficiencies respectively, while the "storage capacity" efficiency should be equal to the storage self-discharge/decay, which is usually in the range of 0 to 0.05. | ||
| :Type: Numeric | ||
| :Unit: Factor |
There was a problem hiding this comment.
Same remark here, how Factor is a unit comparable to kW ? Shouldn't the :Type: be factor?
| :Type: Numeric | ||
| :Unit: Days | ||
| :Example: 365 | ||
| :Restrictions: None |
There was a problem hiding this comment.
| :Restrictions: None | |
| :Restrictions: Positive integer number |
| :Type: Numeric | ||
| :Unit: Year | ||
| :Example: 30 | ||
| :Restrictions: None |
There was a problem hiding this comment.
| :Restrictions: None | |
| :Restrictions: Positive integer number |
There was a problem hiding this comment.
@mahendrark, @smartie2076 :
This PR is about inserting the references, the definition and correct units linked each parameter should be reviewed into a separate PR (created issue #586 for this), we can ignore my suggestion and merge
Addressed part of #269
Changes proposed in this pull request:
The following steps were realized, as well (if applies):
black . --exclude docs/)EXECUTE_TESTS_ON=master pytest)Please mark above checkboxes as following:
❌ Check not applicable to this PR
For more information on how to contribute check the CONTRIBUTING.md.