Showing posts with label Formulas. Show all posts
Showing posts with label Formulas. Show all posts

Monday, May 27, 2013

Standard Electrical Formulas Used for Power Consumption Calculations


TO DETERMINE:
SINGLE-PHASE
THREE-PHASE
DIRECT
CURRENT
KVA
I x E
1000
I x E x 1.73
1000
--------
Kilowatts
I x E x PF
1000
I x E x 1.73 x PF
1000
I x E
1000
Horsepower
I x E x %EFF x PF
746
I x E x 1.732 x %EFF x PF
746
I x E x %EFF
746
Amperes (when HP is known)
HP x 746
E x %EFF x PF
HP x 746
1.73 x E x %EFF x PF
HP x 746
E x %EFF
Amperes (when kW is known)
KW x 1000
E x PF
KW x 1000
1.73 x E x PF
KW x 1000
E
Amperes (when KVA is known)
KVA x 1000
E
KVA x 1000
1.73 x E
--------
1 HP = 7457 Watts
1000 Watts (1KW) = 1.25 KVA with PE=0.8
1 KW = 1 KVA with PE=1.0
Usually observed in generators
1 HP = 571.42
No PE given

Monday, April 8, 2013

RegEx to find empty/swallowed exception blocks with Visual Studio 2012



RegEx:
catch\s\(.*Exception.*\)*\s*(\n?)*\{\s*(//.*)*\s*\n?\}

It will match following formats

catch (Exception)
{
}

catch (Exception){}

catch (Exception)
{
//any c# comments
}

catch (Exception){
}

catch (Exception){
 //any c# comments
}

catch (Exception ex)
{
}
catch (Exception ex){
//any c# comments
}


 For details on searching in visual studio 2012 using regex:
http://msdn.microsoft.com/en-us/library/vstudio/2k3te2cs.aspx

Tuesday, April 20, 2010

Standard Electrical Formulas Used for Power Consumption Calculations

TO DETERMINE:

SINGLE-PHASE

THREE-PHASE

DIRECT
CURRENT

KVA

I x E
1000

I x E x 1.73
1000

--------

Kilowatts

I x E x PF
1000

I x E x 1.73 x PF
1000

I x E
1000

Horsepower

I x E x %EFF x PF
746

I x E x 1.732 x %EFF x PF
746

I x E x %EFF
746

Amperes (when HP is known)

HP x 746
E x %EFF x PF

HP x 746
1.73 x E x %EFF x PF

HP x 746
E x %EFF

Amperes (when kW is known)

KW x 1000
E x PF

KW x 1000
1.73 x E x PF

KW x 1000
E

Amperes (when KVA is known)

KVA x 1000
E

KVA x 1000
1.73 x E

--------

1 HP = 7457 Watts

1000 Watts (1KW) = 1.25 KVA with PE=0.8

1 KW = 1 KVA with PE=1.0

Usually observed in generators

1 HP = 571.42

No PE given