Fossil fuel energy utilization in Indonesia is consider high consisting of 65% coal sources and 20% fuel, while only 15% are generate from new and renewable energy sources. This number is critical due to the commitment to reduce greenhouse gases by 29% or 41% as declared Glasgow in 2021. Alternatives source of energy could be obtained from solar, wind, and water. The energy generate from those sources are consider intermittent, however, water utilization can be optimized by construct several weirs (small-scale reservoirs) to accumulate the rain water as a kinetic energy source to generate electricity. Only some part of the world, especially tropical Indonesia archipelago, has enough rain to generate energy. This research intends to measure the potency of Code River, representing small river in generating micro-hydro power. The Code River is representing a small river on the island of Java as part of the archipelago in Indonesia which has the characteristics of a river, a small water catchment area, and has high discharge input from rainfall because it is in the tropics. The weir is equipped with a penstock pipe, as water intake to the generator. The pipe inner diameter made of high-density polyethylene material can be 200, 300, 400, 500, 700, 800, 1,000 and 1,600 mm. Each pipe size can produce discharges of 0.42, 0.75, 1.62, 2.1, 3.1, 3.5, 6.0 and 24.0 m3/s respectively. The combination of discharge and head height will produce electrical energy (in watts). Based on hydrological modelling consisting of 52 sub-watersheds, the highest electricity production in 2021 is 8,359,218.3 kWh with 800 mm pipe size (3.5 m3/sec discharge). The electricity production is based on reliable discharge between 7-96% which is different for each weir location. In conclusion, the electricity supply for the whole year (100%) is inadequate