Comments (9)
Sorry! Fixed again yesterday
from interactive.
There are comments about the slopes in this example:
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.
Supplementary information in the margo paper has the following:
from interactive.
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.
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.
However, if I move the lever to the left it appears like full immediate deployment of mitigation but it isn't:
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:
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.
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.
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.
Thanks! I fixed it in 3633156 by applying the enforce_maxslope!
function to the controls before plotting them.
from interactive.
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)
- Update `interactive.jl` notebook for new Pluto version
- Touchscreen scroll support
- Use automatic deploy system
- Update `interactive.jl` notebook for new ClimateMARGO version HOT 1
- Oceananigans.jl ocean modeling example HOT 4
- Flashing reactive plots on PlutoSliderServer
- Small-screen design for cost bars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interactive.