rl-institut / multi-vector-simulator

Multi-vector Simulation Tool assessing and optimizing Local Energy Systems (LES) for the E-LAND project
GNU General Public License v2.0
21 stars 10 forks source link

Add tips&tricks to RTD (1. Andras fix) #828

Closed SabineHaas closed 3 years ago

SabineHaas commented 3 years ago

As a quick fix: Why try to use maximumCap when you want to install a very specific capacity? You could define it with installedCap then. If it is because you still want to include the installation costs @TheOneAndra has a fix for that (set age_installed to lifetime of the asset, we could also mention that in the RTD tips&tricks).

I do not quite understand the fix of @TheOneAndra: If I set age_installed = 0, the upfront_investment_costs are still calculated and added to the total_PV_costs. If I set age_installed = lifetime, it's: total_costs = upfront_investment_costs + replacement_costs + om_costs.

So the way I see it the upfront_investment_costs are added anyways, independent of the age_installed. Why does Andra need this fix then?

This trick was used for when I wanted to optimize my system with a fix capacity of a certain asset and still count for installation costs. Therefore with: optimizeCap = False , installedCap = specific capacity and aged_installed = lifetime I could optimize my system with a specific cap of a certain asset and still account for installation costs of this asset at the first timestep (in the idea of a greenfield optimization).

The upfront_investment_costs (output) you mention are the development_costs (input) which are independant of how much of the asset is installed or how many times it is replaced. It is just a single costs applied once.

Originally posted by @TheOneAndra in https://github.com/rl-institut/multi-vector-simulator/issues/825#issuecomment-800332158

@smartie2076 where would be a good place for this?

smartie2076 commented 3 years ago

Good idea! Do you want to have a section that is called tips&tricks, of shoud we add a :tips&tricks: at the appropriate location in the RTD?

SabineHaas commented 3 years ago

Both sounds fine for me!

TheOneAndra commented 3 years ago

Good idea! Do you want to have a section that is called tips&tricks, of shoud we add a :tips&tricks: at the appropriate location in the RTD?

I would usually be for the second option :tips&tricks: at the appropriate section as it seem to me the information is then more packed in one place. The problem with this is to decide where is the appropriate location in the RTD. And for this first example, I already wouldn't know where to put it. So maybe having a dedicated tips&tricks section is a better approach.

SabineHaas commented 3 years ago

So what about adding a tips&tricks page after troubleshooting? And if we want to move the tips and tricks to another section later we could still do that.

Bachibouzouk commented 3 years ago

I would place this under the chapter "Example" with the title "Fix capacity of a given asset while still taking installation costs into account" or similar