title: Making sense of ohm's law in Pandapower
body: <p>I'm trying to make sense of the simplest network possible implemented in Pandapower.</p>
  <pre><code>net2 = pp.create_empty_network()
  
  bus0 = pp.create_bus(net2, vn_kv=10.0)
  bus1 = pp.create_bus(net2, vn_kv=10.0)
  bus2 = pp.create_bus(net2, vn_kv=10.0)
  
  pp.create_load(net2, bus=bus2, p_mw=1, q_mvar=0.00, name=&quot;Load&quot;)
  
  line1_net2 = pp.create_line_from_parameters(net2,
                                              from_bus=bus0,
                                              to_bus=bus1,
                                              length_km=1,
                                              r_ohm_per_km =1,
                                              x_ohm_per_km=0,
                                              c_nf_per_km=0,
                                              r0_ohm_per_km=0,
                                              x0_ohm_per_km=0,
                                              c0_nf_per_km=0,
                                              max_i_ka=100
                                             )
  line2_net2 = pp.create_line_from_parameters(net2,
                                              from_bus=bus1,
                                              to_bus=bus2,
                                              length_km=1,
                                              r_ohm_per_km =1,
                                              x_ohm_per_km=0,
                                              c_nf_per_km=0,
                                              r0_ohm_per_km=0,
                                              x0_ohm_per_km=0,
                                              c0_nf_per_km=0,
                                              max_i_ka=100
                                             )
  
  pp.create_ext_grid(net2, bus=bus650, vm_pu=1.00, name=&quot;Grid Connection&quot;)
  </code></pre>
  <p>After running power flow calculation, it displays the result:</p>
  <pre><code>    vm_pu   va_degree   p_mw    q_mvar
  0   1.000000    0.0     -1.020842   0.0
  1   0.989792    0.0     0.000000    0.0
  2   0.979583    0.0     1.000000    0.0
  </code></pre>
  <p>and</p>
  <pre><code>    p_from_mw   q_from_mvar     p_to_mw     q_to_mvar   pl_mw   ql_mvar     i_from_ka   i_to_ka     i_ka    vm_from_pu  va_from_degree  vm_to_pu    va_to_degree    loading_percent
  0   1.020842    0.0     -1.010421   0.0     0.010421    0.0     0.058938    0.058938    0.058938    1.000000    0.0     0.989792    0.0     0.058938
  1   1.010421    0.0     -1.000000   0.0     0.010421    0.0     0.058938    0.058938    0.058938    0.989792    0.0     0.979583    0.0     0.058938
  </code></pre>
  <p>I'm very confused because the current flowing between bus0 and bus1 should be just the voltage difference divided by the resistance. It should be (1.00000 - 0.989792)*10 kV / 1 ohm = 102 A. However, the result shows I = 58.938 A.</p>
  <p>What am I missing here?</p>