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

Implement realistic timeseries for transport demand #282

Merged

Conversation

adrienmellot
Copy link
Contributor

@adrienmellot adrienmellot commented Mar 13, 2024

Fixes #271.

Checklist

Any checks which are not relevant to the PR can be pre-checked by the PR creator. All others should be checked by the reviewer. You can add extra checklist items here if required by the PR.

  • CHANGELOG updated
  • Minimal workflow tests pass
  • Tests added to cover contribution
  • Documentation updated
  • Configuration schema updated

Copy link
Member

@timtroendle timtroendle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have two small comments. Apart from that, it looks good to me.

# Process the road transport distance timeseries
create_timeseries(type_name, power_scaling_factor, conversion_factor, first_year,
final_year, series, path_to_output, historic=historic)
# TODO check if path_to_timeseries data is charging demand or transport demand
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have an issue for this.


if vehicle_type in ["passenger-cars","motorcycles","light-duty-vehicles"]:
df_timeseries = (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, a comment just above would be helpful. A comment explaining the if /else. Maybe:

# Use RAMP time series profiles for small and light vehicles.

@timtroendle timtroendle merged commit daed991 into calliope-project:develop Mar 15, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add realistic, inflexible, fully-electrified road demand time series
2 participants