mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 19:42:58 +00:00
test
This commit is contained in:
parent
6537913b11
commit
a645946a18
@ -57,14 +57,21 @@ namespace Test
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
var outage = Capacity.ComputeOutage(20000000, new Capacity.CSI[]
|
//var outage = Capacity.ComputeOutage(20000000, new Capacity.CSI[]
|
||||||
|
//{
|
||||||
|
// new Capacity.CSI(PowerUnit.FromDb(20), 0.1),
|
||||||
|
// new Capacity.CSI(PowerUnit.FromDb(15), 0.15),
|
||||||
|
// new Capacity.CSI(PowerUnit.FromDb(10), 0.25),
|
||||||
|
// new Capacity.CSI(PowerUnit.FromDb(5), 0.25),
|
||||||
|
// new Capacity.CSI(PowerUnit.FromDb(0), 0.15),
|
||||||
|
// new Capacity.CSI(PowerUnit.FromDb(-5), 0.1),
|
||||||
|
//});
|
||||||
|
var outage = Capacity.ComputeOutage(1, new Capacity.CSI[]
|
||||||
{
|
{
|
||||||
new Capacity.CSI(PowerUnit.FromDb(20), 0.1),
|
new Capacity.CSI(PowerUnit.FromDb(30), 0.2),
|
||||||
new Capacity.CSI(PowerUnit.FromDb(15), 0.15),
|
new Capacity.CSI(PowerUnit.FromDb(20), 0.3),
|
||||||
new Capacity.CSI(PowerUnit.FromDb(10), 0.25),
|
new Capacity.CSI(PowerUnit.FromDb(10), 0.3),
|
||||||
new Capacity.CSI(PowerUnit.FromDb(5), 0.25),
|
new Capacity.CSI(PowerUnit.FromDb(0), 0.2),
|
||||||
new Capacity.CSI(PowerUnit.FromDb(0), 0.15),
|
|
||||||
new Capacity.CSI(PowerUnit.FromDb(-5), 0.1),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Create stores to keep objects.
|
// Create stores to keep objects.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user