Final integration

This update contains the a direct integration of the reliability model with the sizing model as a library. So anyone can directly run the sizing model , and it will call the reliability model on necessity. To integrate, I following are considered: -

  1) The sizing model continues its first loop with 100% reliability for all considered components.
  2) Then from the 2nd loop, it cross-checks if the components' quantity in the optimization of the current loop with the number of reliability parameters it has in its environment.
  3) If there are not enough reliability parameters, then it assigns a new max-quantity for those components by considering a lowest possible availability
  4) It calls the reliability model and collects the reliability parameters in return for new max-quantity of those components
  5) Finally, the sizing model resumes the size optimization through the loops

Note:
  * The sizing model generally calls the reliability model only in the 2nd loop, but it may call it in other loops if it needs reliability parameters for more assets.
  * As in this implementation, the sizing model loads the initial reliability parameters from the CSV files, so there should be at least 1 asset's reliability parameter of each component are stored in the CSV file for now. Which can be resolve by further improvement.

Thanks all
3 jobs for jaber_thesis in 47 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Style
failed #63521
python allowed to fail
style

00:00:27

 
  Test Code
failed #63522
python
tests

00:00:20

 
  Test And Create Docs
skipped #63523
python
docs
 
Name Stage Failure
failed
tests Test Code There is an unknown failure, please try again
Using docker image continuumio/miniconda3:latest ID=sha256:52daacd3dd5db18d372e31d19527ff1561adfe7f8f707ea0ad04b11d2307f1a3 for build container...
Running on runner-761634a5-project-1793-concurrent-0 via snf-713...
Cloning repository...
Cloning into '/builds/TOPFARM/hydesign'...
Checking out 906616c7 as jaber_thesis...
Skipping Git submodules setup
$ conda env create --name corres_dev -f corres_venv_dev.yml

SpecNotFound: Invalid name, try the format: user/package

failed
style Style
Running on runner-73d265cb-project-1793-concurrent-0 via snf-939...
Cloning repository...
Cloning into '/builds/TOPFARM/hydesign'...
Checking out 906616c7 as jaber_thesis...
Skipping Git submodules setup
$ conda env create --name corres_dev -f corres_venv_dev.yml

SpecNotFound: Invalid name, try the format: user/package