Skip to content

Commit

Permalink
remove numba references
Browse files Browse the repository at this point in the history
  • Loading branch information
simontindemans committed Apr 27, 2022
1 parent 9b77d9b commit 5810114
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions gen_adequacy/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"""
import math
import numpy as np
#from numba import jit
#import numpy.random as random

import gen_adequacy.randomvar as rv
import gen_adequacy.util as util
Expand Down Expand Up @@ -53,7 +51,6 @@ def random_available_capacity(self, rng=None):
up_count = use_rng.binomial(self.unit_count, self.unit_availability)
return up_count * self.unit_capacity

# @jit
def power_trace(self, num_steps=1, dt=1.0, rng=None):
"""
Return time series of available capacities of the aggregate units.
Expand Down
1 change: 0 additions & 1 deletion gen_adequacy/randomvar.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"""
import math
import numpy as np
#import numpy.random as random

import gen_adequacy.util as util

Expand Down
3 changes: 0 additions & 3 deletions gen_adequacy/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"""
import math
import numpy as np
#from numba import jit
#import numpy.random as random

import gen_adequacy.randomvar as rv
from gen_adequacy.generator import Generator
Expand Down Expand Up @@ -168,7 +166,6 @@ def margin_sample(self, number_of_values=1):
mrv = self.margin_rv
return mrv.random_value(number_of_items=number_of_values)

# @jit
def generation_trace(self, num_steps=0, dt=1.0, rng=None):
"""
Sample a random generation trace for all generators in the system.
Expand Down

0 comments on commit 5810114

Please sign in to comment.