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

Renewable + PEM Parameterized Bidder #1407

Merged
merged 38 commits into from
Aug 12, 2024
Merged
Changes from 5 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
fd8a16d
improve the PEM parameterized bidder
Xinhe-Chen May 2, 2024
ac96407
improve pem bidder and add some tests
Xinhe-Chen May 7, 2024
a9db27d
update the logic and fix bugs
Xinhe-Chen May 9, 2024
681e2b5
Merge branch 'main' into param_bidder
Xinhe-Chen May 9, 2024
7477b28
change the test file names
Xinhe-Chen May 9, 2024
3d59d6b
Merge branch 'main' of https://github.com/IDAES/idaes-pse into param_…
Xinhe-Chen May 9, 2024
880fe69
Merge branch 'param_bidder' of https://github.com/Xinhe-Chen/idaes-ps…
Xinhe-Chen May 9, 2024
f30b2b5
use black
Xinhe-Chen May 9, 2024
351bde0
update tests
Xinhe-Chen May 9, 2024
9e779ae
Merge branch 'main' into param_bidder
Xinhe-Chen May 14, 2024
f6ac3e0
update tests
Xinhe-Chen May 14, 2024
5d9a205
update black and test
Xinhe-Chen May 14, 2024
0011b8f
add more tests
Xinhe-Chen May 14, 2024
aed28b8
move the docs to this branch
Xinhe-Chen May 14, 2024
fba6171
update docs
Xinhe-Chen May 16, 2024
92e4b5e
update the docs and code comments
Xinhe-Chen May 16, 2024
a0c11be
updates
Xinhe-Chen May 16, 2024
4639ecc
fix doc typos
Xinhe-Chen May 16, 2024
a034650
Merge branch 'main' into param_bidder
adowling2 May 28, 2024
59cc8b0
update the comments for tests
Xinhe-Chen May 29, 2024
9d9cc43
Merge branch 'param_bidder' of https://github.com/Xinhe-Chen/idaes-ps…
Xinhe-Chen May 29, 2024
531de16
Merge branch 'main' into param_bidder
Xinhe-Chen May 30, 2024
31b454c
fix typos and update bidder tests use real numbers
Xinhe-Chen Jun 18, 2024
b2551a1
use black to format codes
Xinhe-Chen Jun 18, 2024
da5f155
Merge branch 'main' into param_bidder
Xinhe-Chen Jun 25, 2024
365c72d
Merge branch 'main' into param_bidder
Xinhe-Chen Jun 27, 2024
25048f5
add/change comments as Alex suggests
Xinhe-Chen Jun 28, 2024
0e13af6
update docs
Xinhe-Chen Jun 28, 2024
4db3cac
use black to format codes
Xinhe-Chen Jun 28, 2024
a157a58
fix typos
Xinhe-Chen Jun 28, 2024
a4e9b49
fix typos
Xinhe-Chen Jul 1, 2024
31f6e46
minor change
Xinhe-Chen Jul 1, 2024
cbb7244
use logger
Xinhe-Chen Jul 9, 2024
e347b24
Merge branch 'main' into param_bidder
Xinhe-Chen Jul 9, 2024
1e2b0a0
Merge branch 'main' into param_bidder
ksbeattie Jul 19, 2024
58b2827
Merge branch 'main' into param_bidder
Xinhe-Chen Aug 1, 2024
eaf075f
use idaeslogger
Xinhe-Chen Aug 8, 2024
c22317a
update for site-packages installation
Xinhe-Chen Aug 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions idaes/apps/grid_integration/bidder.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# for full copyright and license information.
#################################################################################
import os
import logging
Xinhe-Chen marked this conversation as resolved.
Show resolved Hide resolved
from abc import ABC, abstractmethod
import datetime
import pandas as pd
Expand All @@ -23,6 +24,9 @@
if egret_avail:
from egret.model_library.transmission import tx_utils

_logger = logging.getLogger(__name__)
_logger.setLevel(logging.INFO)


class AbstractBidder(ABC):
"""
Expand Down Expand Up @@ -755,8 +759,8 @@ def write_results(self, path):
None
"""

print("")
print("Saving bidding results to disk...")
_logger.info("\n")
Xinhe-Chen marked this conversation as resolved.
Show resolved Hide resolved
_logger.info("Saving bidding results to disk...")
pd.concat(self.bids_result_list).to_csv(
os.path.join(path, "bidder_detail.csv"), index=False
)
Expand Down Expand Up @@ -1490,8 +1494,8 @@ def write_results(self, path):
None
"""

print("")
print("Saving bidding results to disk...")
_logger.info("\n")
_logger.info("Saving bidding results to disk...")
pd.concat(self.bids_result_list).to_csv(
os.path.join(path, "bidder_detail.csv"), index=False
)
Expand Down
Loading