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

Issue 371 cli command for creating a schedule #372

Merged
merged 43 commits into from Mar 4, 2022

Commits on Feb 23, 2022

  1. Rename variable

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    b64089c View commit details
    Browse the repository at this point in the history
  2. Allow passing an explicit sensor id to find prices

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    05a534f View commit details
    Browse the repository at this point in the history
  3. Add CLI command to create a schedule

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    3632560 View commit details
    Browse the repository at this point in the history
  4. Add docstring

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    e71fd31 View commit details
    Browse the repository at this point in the history
  5. Expose soc_min, soc_max and roundtrip_efficiency parameters as CLI op…

    …tions, too
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    2e46702 View commit details
    Browse the repository at this point in the history
  6. Allow setting SoC targets

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    c213f94 View commit details
    Browse the repository at this point in the history
  7. Fix attribute

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    de85f30 View commit details
    Browse the repository at this point in the history
  8. Allow use of make_schedule outside of job context

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    2b42784 View commit details
    Browse the repository at this point in the history
  9. Fix SoC target input and corresponding type annotation

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    95d1208 View commit details
    Browse the repository at this point in the history
  10. Add note about current limitations

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    6d1e5ee View commit details
    Browse the repository at this point in the history
  11. Add notes about units

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    becf304 View commit details
    Browse the repository at this point in the history
  12. Remove print statement

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    1794c67 View commit details
    Browse the repository at this point in the history
  13. Switch the schedule to the resolution of the power sensor

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    bf8cfe2 View commit details
    Browse the repository at this point in the history
  14. Rename variable in tests, too

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 23, 2022
    Copy the full SHA
    e2b12e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. check parameters: do sensors exist, do we have soc-min and soc-max in…

    …formation available?
    
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Feb 25, 2022
    Copy the full SHA
    a103b40 View commit details
    Browse the repository at this point in the history
  2. Actually the code expects these soc attributes to be on the sensor

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Feb 25, 2022
    Copy the full SHA
    32db57a View commit details
    Browse the repository at this point in the history
  3. use utility function to check attribute

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Feb 25, 2022
    Copy the full SHA
    82221cf View commit details
    Browse the repository at this point in the history
  4. identify sensor by instance, as two may have the same name across assets

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Feb 25, 2022
    Copy the full SHA
    c5a0ac7 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2022

  1. Copy the full SHA
    558f23a View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. Consistent capitalization

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    b7acb68 View commit details
    Browse the repository at this point in the history
  2. Allow unit conversion for individual int/float values

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    15913f5 View commit details
    Browse the repository at this point in the history
  3. Allow unit conversion to and from a percentage of some capacity

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    0211ecb View commit details
    Browse the repository at this point in the history
  4. Test unit conversion to and from a percentage of some capacity

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    4e925fa View commit details
    Browse the repository at this point in the history
  5. CLI scheduling command uses % SoC units by default

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    7b42db0 View commit details
    Browse the repository at this point in the history
  6. Round charging schedules

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    47b0bef View commit details
    Browse the repository at this point in the history
  7. Fix calculation of belief time (by handing the problem over to timely…

    … beliefs)
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    b6603de View commit details
    Browse the repository at this point in the history
  8. flake8

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    135c0d6 View commit details
    Browse the repository at this point in the history
  9. fix (thanks mypy)

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    c998fe1 View commit details
    Browse the repository at this point in the history
  10. Fix timezone issue for trimming planning window

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    95d44e5 View commit details
    Browse the repository at this point in the history
  11. Fix timezone issue for setting SoC targets for schedules crossing DST…

    … transitions
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Feb 28, 2022
    Copy the full SHA
    9351944 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. turn --end parameter into --duration

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Mar 1, 2022
    Copy the full SHA
    0a42036 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Switch efficiency input to % values and add input validation using ma…

    …rshmallow
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 3, 2022
    Copy the full SHA
    525a303 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Force users to be specific upon providing input of percentage values …

    …or ratios for the round-trip efficiency
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    c3c6a81 View commit details
    Browse the repository at this point in the history
  2. Fix percentage range and add range example for power quantity

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    efea48c View commit details
    Browse the repository at this point in the history
  3. Switch validation to return Quantity objects instead of magnitudes

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    dc8f1a9 View commit details
    Browse the repository at this point in the history
  4. Switch SOC input to percentages only

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    ec3035a View commit details
    Browse the repository at this point in the history
  5. Rename factor_id to optimization_context_id

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    abc7ac6 View commit details
    Browse the repository at this point in the history
  6. Delete obsolete class

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    a86ab94 View commit details
    Browse the repository at this point in the history
  7. Rename validator class

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    a12ecef View commit details
    Browse the repository at this point in the history
  8. flake8 and mypy

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    6d0e9b8 View commit details
    Browse the repository at this point in the history
  9. Changelog entries

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    56aab77 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'main' into Issue-371_CLI_command_for_creating_a_schedule

    # Conflicts:
    #	documentation/changelog.rst
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    6ec52f9 View commit details
    Browse the repository at this point in the history
  11. Update CLI commands listing

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Mar 4, 2022
    Copy the full SHA
    96c2364 View commit details
    Browse the repository at this point in the history