Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tooling
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FOCUS
Tooling
Commits
a92aa0cd
Commit
a92aa0cd
authored
Apr 17, 2023
by
Jingyu Gong
Browse files
Options
Downloads
Patches
Plain Diff
debug: t_horizon was treated as hour, now linked with t_step
parent
7f7f99cc
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
input_profile_processor/input_profile_processor.py
+1
-1
1 addition, 1 deletion
input_profile_processor/input_profile_processor.py
with
1 addition
and
1 deletion
input_profile_processor/input_profile_processor.py
+
1
−
1
View file @
a92aa0cd
...
...
@@ -48,7 +48,7 @@ def process_input_profiles(input_profile_dict, t_start, t_horizon, t_step):
input_profiles
[
input_profile_name
]
=
(
input_profile_config
[
0
],
profile
)
for
input_profile_name
,
(
input_profile_type
,
input_profile
)
in
input_profiles
.
items
():
input_profile
=
input_profile
[
t_start
:
t_start
+
pd
.
Timedelta
(
hours
=
t_horizon
-
1
)]
input_profile
=
input_profile
[
t_start
:
t_start
+
pd
.
Timedelta
(
hours
=
t_horizon
*
t_step
-
t_step
)]
if
input_profile_type
==
'
irradiance
'
:
lambda_1
=
14.122
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment