Breakthrough-Energy / Breakthrough-Energy/SwitchWrapper

Add function(s) to create timestamp-to-timepoint mapping

Open
#60 0 comments 0 reactions 6 assignees Claimed by @YifanLi86 View on GitHub
feature request
Dominant language
Python
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

# :rocket:

- [ ] Is your feature request essential for your project?
Not essential for `v0.1`, since we can start with an externally-defined mapping, but will be a high priority for `v0.2` to minimize the amount of information that we expect the user to provide in order to start a simulation.

### Describe the workflow you want to enable
I wish we had one or more algorithms which would take information about profiles (and a Grid?) and produce a mapping which will feed #55 to develop Switch inputs and feed #50 to analyze Switch outputs.

### Describe your proposed implementation
Algorithm TBD. We could start with something very simple like k-means in order to test the full chain of processing inputs to outputs, and eventually get a little fancier by doing e.g. some transformation to the profiles before generating clusters (e.g. principal component analysis).

The function would take a set of profiles, a number of desired timepoints, and possibly a Grid object, and produce a pandas Series which maps each timestamp of the original profiles to a timepoint (possible producing any additional information as necessary to apply the mapping in #55).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.