British HSBC Bank plc (LSE:HSBA) has committed to buying electricity from a 12.6-MW wind farm that Swiss private asset and renewable energy investment manager Capital Dynamics will build in Scotland.