Git Product home page Git Product logo

Comments (9)

fonsp avatar fonsp commented on June 18, 2024 2

Sorry! Fixed again yesterday

from interactive.

declann avatar declann commented on June 18, 2024

There are comments about the slopes in this example:

https://github.com/ClimateMARGO/ClimateMARGO.jl/blob/fbbe619f21cc50f8cdf137d6243773edcf3381f2/examples/default_configuration.jl#L280C3-L280C3

Second, we set upper limits on how quickly each control can be ramped up or down.

We can modify a similarly constructed max_slopes param by adding it to the call to optimize_controls inside opt_controls_temp definition.

from interactive.

declann avatar declann commented on June 18, 2024

Supplementary information in the margo paper has the following:

image

from interactive.

fonsp avatar fonsp commented on June 18, 2024

Hey @declann! You suggested that the plots could visually indicate the max slope. Can you draw a picture of what you have in mind?

from interactive.

declann avatar declann commented on June 18, 2024

Sure @fonsp !

Looking at the interactive visuals under 'Mitigating emissions':

The initial view is probably ok, because the ramp up to full deployment takes ~40 years.

image

However, if I move the lever to the left it appears like full immediate deployment of mitigation but it isn't:

image

Further, we can't really know whats going on without inferring it backwards from the Emissions chart below it.

So, I think an overlay like this helps:

image

And, I think a note should explain that due to inertia and practicalities there is a limit to how fast mitigation can actually be ramped up.

Trying to keep changes low-key with that approach, what do you think?

Would need similar overlay in the 'Costs & damages' and CDR 'picking up the slack' interactions (including for CDR).

Ps: I'm reimplementing bits of the ClimateMARGO model in a new language calculang and developing different visuals and interactions - your notebooks are very helpful for inspiration/understanding the model and to figure about interacting with the Julia codebase, so thanks!

from interactive.

hdrake avatar hdrake commented on June 18, 2024

Hi @declann, thanks for pointing out this inconsistency between the apparent controls shown in the notebook and those actually employed in the underlying model instance.

I like both of your ideas of visualizing the max-deployment clamps to satisfy initial condition controls and also for allowing the clamps to be toggled on or off. I won't have the capacity to solve this for a while, but you're more than welcome to make a PR here if you think you know how to fix it.

from interactive.

declann avatar declann commented on June 18, 2024

Cool @hdrake

Right now it isn't feasible I do a PR on Julia/Plots.jl code but maybe I'll be able to do it eventually.

Sorry for going offtopic: I'm replicating some climatemargo numbers in a calculang model.
Approach for my own interactives will be to derive mitigation control values from emissions projections. Those controls look like https://twitter.com/calculang/status/1716211017875706013 (source in vega editor but I will also add constant emissions controls)

I'll be going a bit outside climatemargo model intended scope (where I permit changing past emissions for instance), and will be sure to highlight that, and maybe not even report some economics outputs in new scenarios.
I don't think I'll get optimization into this model in the immediate future, but hopefully will be able to add to interesting climate interactives - for simpler scenarios.

Thanks for the nice straightforward model to work and learn with!

from interactive.

fonsp avatar fonsp commented on June 18, 2024

Thanks! I fixed it in 3633156 by applying the enforce_maxslope! function to the controls before plotting them.

from interactive.

hdrake avatar hdrake commented on June 18, 2024

Thanks! I fixed it in 3633156 by applying the enforce_maxslope! function to the controls before plotting them.

Thanks, @fonsp, but it looks like the changes unfortunately broke https://margo.plutojl.org/introduction.html!

from interactive.

Related Issues (8)

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.