Code Monkey home page Code Monkey logo

Comments (8)

yalinli2 avatar yalinli2 commented on June 28, 2024 1

@haclohman The first one is done as discussed d5c1960!

Finally all of the six systems within the three modules can be run together (shedding proud tears). It took ~2 min for 5 countries for N=20, probably under 2 hrs with N=1,000, 5 countries. I'd think 1,000 is enough, in the past I got about the same results for N=1,000 vs. N=5,000 from the bwaise module, you can try with 1 module, 1 country with a larger N if want to be safe.

In the future if you want to add more countries, you can update the country_specific_inputs.csv data sheet, columns are the countries/scenarios and rows are the parameters, if you want to add a parameter, don't forget to add the parameter in the country_specific.py module in EXPOsan.

I might not have time for Task 2 over the weekend, I'll try to find some time after Tuesday to get it done.

For Task 3 I'll aim for getting the X'mas tree figures, which should be pretty quick once 2 is done. For Spearman I think the bar charts @joyxyz1994 made are pretty cool, so maybe ask her to help add the that when I finish this issue.

In the meantime I think you can focus on:

  1. Check if the results I currently got make sense, e.g., cost are very different across countries, but not environmental impacts, probably because we don't have a lot of country-specific data for them, or there could be bugs...
  2. Gather data for other countries you want

Let me know suggestions!

from dmsan.

haclohman avatar haclohman commented on June 28, 2024 1

I checked the country-specific results for the baseline metrics, and I think they look ok. The only thing that changes by country for the LCA is the electricity CF. I did a back of the envelope calc to make sure the results look ok for electricity and they look good. Reclaimer model B and NEWgen model B both are solar energy so their emissions will be unchanged across the countries since there is no electricity input.

Right now we only have one global CF for each material - I could go back into SimaPro and gather the country-specific values available for the list of materials to see more differences across countries in LCA.

from dmsan.

haclohman avatar haclohman commented on June 28, 2024

That all sounds good! I think Spearman should be good for now. I'll spend some time outlining my manuscript and planning the types of results I want to include. Also, if you have any ideas for how we could look at results/trends across locations let me know! I think discussing the differences in indicator weights across locations could be interesting to talk about and then the differences in which technologies are being selected across countries within a criteria weight scenario could be cool.

Let me know what you'd like me to do vs you for this to do list and the updates for the country_specific.py script.

from dmsan.

haclohman avatar haclohman commented on June 28, 2024

Awesome! Thank you so much!! I will check the results tomorrow to make sure everything looks ok. The only country-specific part of the LCA is related to the energy emissions. I'll make sure the changes related to energy source are being correctly accounted for.

from dmsan.

yalinli2 avatar yalinli2 commented on June 28, 2024

OK sounds good to me!

from dmsan.

yalinli2 avatar yalinli2 commented on June 28, 2024

I updated the uncertainty analysis in the comparison module, I also wrote the code for the sensitivity analyses but unsure if that's the best way we want to run it

@haclohman , when you have time, maybe it'll be good if you can look at the uncertainty results and think of what figures you want, then we can discuss with @joyxyz1994 if/how we want to run/plot the sensitivity analysis, thanks!

from dmsan.

yalinli2 avatar yalinli2 commented on June 28, 2024

OK I added some initial figures (0853bf5) for quick visualization (in the /figures dir), aside from the sensitivity analysis since I'm not sure if it makes sense to do the sensitivity between system simulation uncertain parameters and the performance score without considering the global/indicator weights

but otherwise the results look interesting at the first glance - Biogenic Refinery and Reclaimer are neck-to-neck and the winner depends on the country, though I forgot whether I cached the simulation results before or after you fix the price for the Reclaimer module, you might want to check and fix all the bugs, re-simulate the system with use a larger N (I just used 20)

running MCDA (mcda.py) took 7 min for 5 countries, N=20, 100 weight scenarios, MCDA itself took almost no time, it's all because of Spearman (needs to do it for every weight scenario), I might poke around and see what's dragging this if I remember...

from dmsan.

yalinli2 avatar yalinli2 commented on June 28, 2024

Adding some notes following our discussions:

  1. There's no issue with Spearman now since we'll only do that between uncertain parameters and indicator scores (#23), not the performance scores
  2. I've opened another two issues with very brief description on what's needs to be done, so I'll close this

from dmsan.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.