Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow DCaPST AmbientCO2 value to be read from weather component. #9524

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

joesaddigh
Copy link
Contributor

@joesaddigh joesaddigh commented Dec 9, 2024

Resolves #9523

DCaPST currently uses a default value for the concentration of carbon dioxide (CO2) in the atmosphere, of 363ppm. This value is out of date. Rather than simply change the harcoded value to match the current value of 420ppm, DCaPST will be udpated to use the Weather.CO2 value. This Weather.CO2 can be set via the CO2Value component. DCaPST will now error if no CO2Value component has been added to the Weather component.

@joesaddigh joesaddigh changed the title Change Sorghum/Wheat CO2Modifier to 420ppm. WIP - Change Sorghum/Wheat CO2Modifier to 420ppm. Dec 9, 2024
@BrianCollinss
Copy link
Member

Some simulations in the DCaPST validation file are set to run for years in the 1990s and 2000s. Is this change appropriate? Shouldn't a CO₂ setter be included in each of those simulations to set CO2 at the appropriate level?

@joesaddigh
Copy link
Contributor Author

Some simulations in the DCaPST validation file are set to run for years in the 1990s and 2000s. Is this change appropriate? Shouldn't a CO₂ setter be included in each of those simulations to set CO2 at the appropriate level?

Hi Brian. Thank you for your comment. It is a good point. We are looking at implementing a better solution that allows more flexibility than a hardcoded value. Once implemented and tested, I will provide some more information on this Bug report. Hope that's ok?

@joesaddigh joesaddigh changed the title WIP - Change Sorghum/Wheat CO2Modifier to 420ppm. WIP - Allow DCaPST AmbientCO2 value to be read from weather component. Dec 12, 2024
@BrianCollinss
Copy link
Member

This might be helpful: #9356.

@joesaddigh joesaddigh changed the title WIP - Allow DCaPST AmbientCO2 value to be read from weather component. Allow DCaPST AmbientCO2 value to be read from weather component. Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants