Open vamseeachanta opened 11 months ago
@mpydah FYI
Dear team, basic structure for the code added so far is below. https://github.com/vamseeachanta/digitalmodel/pull/38/files
@mpydah , @saiachanta2728 @samdansk2 @unixwave Please ask questions if any in below comment box so I can respond.
@samdansk2 Please work in this branch. Added calculations to the same branch. https://github.com/vamseeachanta/digitalmodel/tree/cp_ss Dev:
@vamseeachanta Hello sir , hope you are doing well , As you said
@vamseeachanta
Hello sir , hope you are doing good ,
@vamseeachanta hello sir ,
@vamseeachanta After opening engine file and input yaml file , when I press 12 key Cathodic_protection.py file has not opened sir. Whyy ?
@samdansk2. Hit F12 in the engine file on any code command i.e where there is a function defined. Hit F12 again. keep playing with it to get a hang of it. See below: https://code.visualstudio.com/docs/editor/editingevolved#:~:text=in%20the%20editor.-,Go%20to%20Definition,a%20symbol%20by%20pressing%20F12.&text=Tip%3A%20You%20can%20jump%20to,with%20Ctrl%2BAlt%2BClick.
@vamseeachanta after debugging test_cathodic_protection file , when i try to debug the cathodic_protection calculation file using debug toolbar option continue (f5) , but debugging is not working sir , nothing comes in call stack field i am attaching the image below , please see it sir
@samdansk2 , You are trying to run cathodic_protection.py. The code has class and class functions but nothing is ever called in the file.
So running cathodic_protection.py, will only read the file and its functions. It may stop near a function definition if you put abreakpoint. Anything inside function, nothing will happen and no breakpoints will stop. So, you have to call a code to run. The test_basic_cathodic_protection.py will create entry into the code. This is the summary of the problem.
@vamseeachanta hello sir , Again i started from beginning it is giving one error please see it in below image Is it beacause of we install package in wrong directory ( python -m pip install e .) that i have two in desktop digitalmodel and digitalmodel-1
Note : when you said why two digitalmodel repos while we are in a meet I have deleted previous one digitalmodel and kept latest one digitalmodel-1
sometimes you may need to restart the program/computer. Or there is a genuine reason. We will try on my computer next time..
@vamseeachanta my doubt is real sir , we installed digitalmodel package in wrong old repository , now i have installed using same command ( python -m pip install - e. ) in present working folder ( repo ) it has worked for me . thankyou.
@vamseeachanta Hello sir , hope you are doing well ,
@samdansk2 , looks good. Continue the rest of the code. Also track the values in the workbook (350106-SC-EN-022-SD-000229-CTR2-0001-Rev0 CP Calculation vs. programming.xls) and fill in the below columns:
This way, we know how accurate our program is when compared against the workbook.
PS: Do let me know if you are stuck.
@vamseeachanta everything is done sir , only one calculation is pending , seawater_resistivity calculation , we should discuss about it , thankyou .
Progress:
Way forward:
seawater_resistivity_calculation
save all results to standard .csv file (done)
Perform sensitivity analysis with different inputs (done)
Show how to utilize visualizations to demonstrate analysis outputs (?)
Troubleshoot numpy output discrepancy. (Done)
fix count vs. mass error (Done)
Perform CP Calculations sacrificial anode CP calculations:
Final result required is Weight of Anode required. For detailed methodology for sacrificial anode calculations, see below: https://github.com/vamseeachanta/digitalmodel/blob/oct/docs/cathodic_protection/sacrificial_anode.md
For other general CP details, see below: https://github.com/vamseeachanta/digitalmodel/blob/oct/docs/cathodic_protection/literature.md